karafka-sidekiq-backend 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.github/workflows/ci.yml +48 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +54 -51
- data/LICENSE +165 -0
- data/README.md +3 -2
- data/karafka-sidekiq-backend.gemspec +2 -2
- data/lib/karafka/backends/sidekiq.rb +1 -1
- metadata +7 -7
- metadata.gz.sig +0 -0
- data/.travis.yml +0 -35
- data/MIT-LICENCE +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17c9b70dae94209206085ae737ec81cac9ef56359729135525c652000c190fac
|
4
|
+
data.tar.gz: d7ac4a58f1fa843a9e87db4d28621e1c66f0b040b43ec3400172e2232131c626
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02cddb92ffda427312796059c33673639de572036d3785035bc7a00ca6f6777b66091eba0ff78fd54f44fcdd64f5221bd8b16ebacc36e08ebde73b56aebf33fb
|
7
|
+
data.tar.gz: 12e11fb7cba09851d377d9de7bd2ea6ab90ea4b27500296a1213886748a4722df2a72a81dab4c58b4f50365df59f737d2ab314f5b2a1639c2740324f3ec921cc
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
@@ -0,0 +1,48 @@
|
|
1
|
+
name: ci
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
schedule:
|
6
|
+
- cron: '0 1 * * *'
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
specs:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
strategy:
|
12
|
+
fail-fast: false
|
13
|
+
matrix:
|
14
|
+
ruby:
|
15
|
+
- '2.7'
|
16
|
+
- '2.6'
|
17
|
+
- '2.5'
|
18
|
+
include:
|
19
|
+
- ruby: '2.7'
|
20
|
+
coverage: 'true'
|
21
|
+
steps:
|
22
|
+
- uses: actions/checkout@v2
|
23
|
+
- name: Install package dependencies
|
24
|
+
run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"
|
25
|
+
- name: Set up Ruby
|
26
|
+
uses: ruby/setup-ruby@v1
|
27
|
+
with:
|
28
|
+
ruby-version: ${{matrix.ruby}}
|
29
|
+
- name: Install latest bundler
|
30
|
+
run: |
|
31
|
+
gem install bundler --no-document
|
32
|
+
bundle config set without 'tools benchmarks docs'
|
33
|
+
- name: Bundle install
|
34
|
+
run: bundle install --jobs 4 --retry 3
|
35
|
+
- name: Run all tests
|
36
|
+
env:
|
37
|
+
GITHUB_COVERAGE: ${{matrix.coverage}}
|
38
|
+
run: bundle exec rspec
|
39
|
+
coditsu:
|
40
|
+
runs-on: ubuntu-latest
|
41
|
+
strategy:
|
42
|
+
fail-fast: false
|
43
|
+
steps:
|
44
|
+
- uses: actions/checkout@v2
|
45
|
+
with:
|
46
|
+
fetch-depth: 0
|
47
|
+
- name: Run Coditsu
|
48
|
+
run: \curl -sSL https://api.coditsu.io/run/ci | bash
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.1
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,72 +1,74 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
karafka-sidekiq-backend (1.3.
|
4
|
+
karafka-sidekiq-backend (1.3.1)
|
5
5
|
karafka (~> 1.3.0)
|
6
6
|
sidekiq (>= 4.2)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
concurrent-ruby (1.1.
|
11
|
+
concurrent-ruby (1.1.6)
|
12
12
|
connection_pool (2.2.2)
|
13
|
-
delivery_boy (0.
|
13
|
+
delivery_boy (1.0.1)
|
14
14
|
king_konf (~> 0.3)
|
15
|
-
ruby-kafka (~> 0
|
15
|
+
ruby-kafka (~> 1.0)
|
16
16
|
diff-lcs (1.3)
|
17
|
-
digest-crc (0.
|
17
|
+
digest-crc (0.5.1)
|
18
18
|
docile (1.3.2)
|
19
|
-
dry-configurable (0.
|
19
|
+
dry-configurable (0.11.5)
|
20
20
|
concurrent-ruby (~> 1.0)
|
21
21
|
dry-core (~> 0.4, >= 0.4.7)
|
22
|
+
dry-equalizer (~> 0.2)
|
22
23
|
dry-container (0.7.2)
|
23
24
|
concurrent-ruby (~> 1.0)
|
24
25
|
dry-configurable (~> 0.1, >= 0.1.3)
|
25
26
|
dry-core (0.4.9)
|
26
27
|
concurrent-ruby (~> 1.0)
|
27
|
-
dry-equalizer (0.
|
28
|
+
dry-equalizer (0.3.0)
|
28
29
|
dry-events (0.2.0)
|
29
30
|
concurrent-ruby (~> 1.0)
|
30
31
|
dry-core (~> 0.4)
|
31
32
|
dry-equalizer (~> 0.2)
|
32
|
-
dry-inflector (0.
|
33
|
-
dry-initializer (3.0.
|
34
|
-
dry-logic (1.0.
|
33
|
+
dry-inflector (0.2.0)
|
34
|
+
dry-initializer (3.0.3)
|
35
|
+
dry-logic (1.0.6)
|
35
36
|
concurrent-ruby (~> 1.0)
|
36
37
|
dry-core (~> 0.2)
|
37
38
|
dry-equalizer (~> 0.2)
|
38
|
-
dry-monitor (0.3.
|
39
|
+
dry-monitor (0.3.2)
|
39
40
|
dry-configurable (~> 0.5)
|
40
41
|
dry-core (~> 0.4)
|
41
42
|
dry-equalizer (~> 0.2)
|
42
|
-
dry-events (~> 0.
|
43
|
-
dry-schema (1.
|
43
|
+
dry-events (~> 0.2)
|
44
|
+
dry-schema (1.5.0)
|
44
45
|
concurrent-ruby (~> 1.0)
|
45
46
|
dry-configurable (~> 0.8, >= 0.8.3)
|
46
47
|
dry-core (~> 0.4)
|
47
48
|
dry-equalizer (~> 0.2)
|
48
49
|
dry-initializer (~> 3.0)
|
49
50
|
dry-logic (~> 1.0)
|
50
|
-
dry-types (~> 1.
|
51
|
-
dry-types (1.
|
51
|
+
dry-types (~> 1.4)
|
52
|
+
dry-types (1.4.0)
|
52
53
|
concurrent-ruby (~> 1.0)
|
53
54
|
dry-container (~> 0.3)
|
54
55
|
dry-core (~> 0.4, >= 0.4.4)
|
55
|
-
dry-equalizer (~> 0.
|
56
|
+
dry-equalizer (~> 0.3)
|
56
57
|
dry-inflector (~> 0.1, >= 0.1.2)
|
57
58
|
dry-logic (~> 1.0, >= 1.0.2)
|
58
|
-
dry-validation (1.
|
59
|
+
dry-validation (1.5.0)
|
59
60
|
concurrent-ruby (~> 1.0)
|
60
61
|
dry-container (~> 0.7, >= 0.7.1)
|
61
62
|
dry-core (~> 0.4)
|
62
63
|
dry-equalizer (~> 0.2)
|
63
64
|
dry-initializer (~> 3.0)
|
64
|
-
dry-schema (~> 1.
|
65
|
-
envlogic (1.1.
|
65
|
+
dry-schema (~> 1.5)
|
66
|
+
envlogic (1.1.2)
|
66
67
|
dry-inflector (~> 0.1)
|
67
|
-
|
68
|
-
|
69
|
-
|
68
|
+
io-console (0.5.6)
|
69
|
+
irb (1.2.3)
|
70
|
+
reline (>= 0.0.1)
|
71
|
+
karafka (1.3.6)
|
70
72
|
dry-configurable (~> 0.8)
|
71
73
|
dry-inflector (~> 0.1)
|
72
74
|
dry-monitor (~> 0.3)
|
@@ -76,50 +78,51 @@ GEM
|
|
76
78
|
multi_json (>= 1.12)
|
77
79
|
rake (>= 11.3)
|
78
80
|
ruby-kafka (>= 0.7.8)
|
79
|
-
thor (
|
81
|
+
thor (>= 0.20)
|
80
82
|
waterdrop (~> 1.3.0)
|
81
83
|
zeitwerk (~> 2.1)
|
82
84
|
king_konf (0.3.7)
|
83
|
-
multi_json (1.
|
84
|
-
rack (2.
|
85
|
-
rack-protection (2.0.
|
85
|
+
multi_json (1.14.1)
|
86
|
+
rack (2.2.2)
|
87
|
+
rack-protection (2.0.8.1)
|
86
88
|
rack
|
87
|
-
rake (
|
88
|
-
redis (4.1.
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
rspec-
|
93
|
-
|
94
|
-
rspec-
|
95
|
-
rspec-
|
89
|
+
rake (13.0.1)
|
90
|
+
redis (4.1.3)
|
91
|
+
reline (0.1.4)
|
92
|
+
io-console (~> 0.5)
|
93
|
+
rspec (3.9.0)
|
94
|
+
rspec-core (~> 3.9.0)
|
95
|
+
rspec-expectations (~> 3.9.0)
|
96
|
+
rspec-mocks (~> 3.9.0)
|
97
|
+
rspec-core (3.9.1)
|
98
|
+
rspec-support (~> 3.9.1)
|
99
|
+
rspec-expectations (3.9.1)
|
96
100
|
diff-lcs (>= 1.2.0, < 2.0)
|
97
|
-
rspec-support (~> 3.
|
98
|
-
rspec-mocks (3.
|
101
|
+
rspec-support (~> 3.9.0)
|
102
|
+
rspec-mocks (3.9.1)
|
99
103
|
diff-lcs (>= 1.2.0, < 2.0)
|
100
|
-
rspec-support (~> 3.
|
101
|
-
rspec-support (3.
|
102
|
-
ruby-kafka (0.
|
104
|
+
rspec-support (~> 3.9.0)
|
105
|
+
rspec-support (3.9.2)
|
106
|
+
ruby-kafka (1.0.0)
|
103
107
|
digest-crc
|
104
|
-
sidekiq (6.0.
|
108
|
+
sidekiq (6.0.7)
|
105
109
|
connection_pool (>= 2.2.2)
|
106
|
-
rack (
|
110
|
+
rack (~> 2.0)
|
107
111
|
rack-protection (>= 2.0.0)
|
108
112
|
redis (>= 4.1.0)
|
109
|
-
simplecov (0.
|
113
|
+
simplecov (0.18.5)
|
110
114
|
docile (~> 1.1)
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
delivery_boy (~> 0.2)
|
115
|
+
simplecov-html (~> 0.11)
|
116
|
+
simplecov-html (0.12.2)
|
117
|
+
thor (1.0.1)
|
118
|
+
waterdrop (1.3.4)
|
119
|
+
delivery_boy (>= 0.2, < 2.x)
|
117
120
|
dry-configurable (~> 0.8)
|
118
121
|
dry-monitor (~> 0.3)
|
119
122
|
dry-validation (~> 1.2)
|
120
123
|
ruby-kafka (>= 0.7.8)
|
121
124
|
zeitwerk (~> 2.1)
|
122
|
-
zeitwerk (2.
|
125
|
+
zeitwerk (2.3.0)
|
123
126
|
|
124
127
|
PLATFORMS
|
125
128
|
ruby
|
@@ -130,4 +133,4 @@ DEPENDENCIES
|
|
130
133
|
simplecov
|
131
134
|
|
132
135
|
BUNDLED WITH
|
133
|
-
2.
|
136
|
+
2.1.4
|
data/LICENSE
ADDED
@@ -0,0 +1,165 @@
|
|
1
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
2
|
+
Version 3, 29 June 2007
|
3
|
+
|
4
|
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
5
|
+
Everyone is permitted to copy and distribute verbatim copies
|
6
|
+
of this license document, but changing it is not allowed.
|
7
|
+
|
8
|
+
|
9
|
+
This version of the GNU Lesser General Public License incorporates
|
10
|
+
the terms and conditions of version 3 of the GNU General Public
|
11
|
+
License, supplemented by the additional permissions listed below.
|
12
|
+
|
13
|
+
0. Additional Definitions.
|
14
|
+
|
15
|
+
As used herein, "this License" refers to version 3 of the GNU Lesser
|
16
|
+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
17
|
+
General Public License.
|
18
|
+
|
19
|
+
"The Library" refers to a covered work governed by this License,
|
20
|
+
other than an Application or a Combined Work as defined below.
|
21
|
+
|
22
|
+
An "Application" is any work that makes use of an interface provided
|
23
|
+
by the Library, but which is not otherwise based on the Library.
|
24
|
+
Defining a subclass of a class defined by the Library is deemed a mode
|
25
|
+
of using an interface provided by the Library.
|
26
|
+
|
27
|
+
A "Combined Work" is a work produced by combining or linking an
|
28
|
+
Application with the Library. The particular version of the Library
|
29
|
+
with which the Combined Work was made is also called the "Linked
|
30
|
+
Version".
|
31
|
+
|
32
|
+
The "Minimal Corresponding Source" for a Combined Work means the
|
33
|
+
Corresponding Source for the Combined Work, excluding any source code
|
34
|
+
for portions of the Combined Work that, considered in isolation, are
|
35
|
+
based on the Application, and not on the Linked Version.
|
36
|
+
|
37
|
+
The "Corresponding Application Code" for a Combined Work means the
|
38
|
+
object code and/or source code for the Application, including any data
|
39
|
+
and utility programs needed for reproducing the Combined Work from the
|
40
|
+
Application, but excluding the System Libraries of the Combined Work.
|
41
|
+
|
42
|
+
1. Exception to Section 3 of the GNU GPL.
|
43
|
+
|
44
|
+
You may convey a covered work under sections 3 and 4 of this License
|
45
|
+
without being bound by section 3 of the GNU GPL.
|
46
|
+
|
47
|
+
2. Conveying Modified Versions.
|
48
|
+
|
49
|
+
If you modify a copy of the Library, and, in your modifications, a
|
50
|
+
facility refers to a function or data to be supplied by an Application
|
51
|
+
that uses the facility (other than as an argument passed when the
|
52
|
+
facility is invoked), then you may convey a copy of the modified
|
53
|
+
version:
|
54
|
+
|
55
|
+
a) under this License, provided that you make a good faith effort to
|
56
|
+
ensure that, in the event an Application does not supply the
|
57
|
+
function or data, the facility still operates, and performs
|
58
|
+
whatever part of its purpose remains meaningful, or
|
59
|
+
|
60
|
+
b) under the GNU GPL, with none of the additional permissions of
|
61
|
+
this License applicable to that copy.
|
62
|
+
|
63
|
+
3. Object Code Incorporating Material from Library Header Files.
|
64
|
+
|
65
|
+
The object code form of an Application may incorporate material from
|
66
|
+
a header file that is part of the Library. You may convey such object
|
67
|
+
code under terms of your choice, provided that, if the incorporated
|
68
|
+
material is not limited to numerical parameters, data structure
|
69
|
+
layouts and accessors, or small macros, inline functions and templates
|
70
|
+
(ten or fewer lines in length), you do both of the following:
|
71
|
+
|
72
|
+
a) Give prominent notice with each copy of the object code that the
|
73
|
+
Library is used in it and that the Library and its use are
|
74
|
+
covered by this License.
|
75
|
+
|
76
|
+
b) Accompany the object code with a copy of the GNU GPL and this license
|
77
|
+
document.
|
78
|
+
|
79
|
+
4. Combined Works.
|
80
|
+
|
81
|
+
You may convey a Combined Work under terms of your choice that,
|
82
|
+
taken together, effectively do not restrict modification of the
|
83
|
+
portions of the Library contained in the Combined Work and reverse
|
84
|
+
engineering for debugging such modifications, if you also do each of
|
85
|
+
the following:
|
86
|
+
|
87
|
+
a) Give prominent notice with each copy of the Combined Work that
|
88
|
+
the Library is used in it and that the Library and its use are
|
89
|
+
covered by this License.
|
90
|
+
|
91
|
+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
92
|
+
document.
|
93
|
+
|
94
|
+
c) For a Combined Work that displays copyright notices during
|
95
|
+
execution, include the copyright notice for the Library among
|
96
|
+
these notices, as well as a reference directing the user to the
|
97
|
+
copies of the GNU GPL and this license document.
|
98
|
+
|
99
|
+
d) Do one of the following:
|
100
|
+
|
101
|
+
0) Convey the Minimal Corresponding Source under the terms of this
|
102
|
+
License, and the Corresponding Application Code in a form
|
103
|
+
suitable for, and under terms that permit, the user to
|
104
|
+
recombine or relink the Application with a modified version of
|
105
|
+
the Linked Version to produce a modified Combined Work, in the
|
106
|
+
manner specified by section 6 of the GNU GPL for conveying
|
107
|
+
Corresponding Source.
|
108
|
+
|
109
|
+
1) Use a suitable shared library mechanism for linking with the
|
110
|
+
Library. A suitable mechanism is one that (a) uses at run time
|
111
|
+
a copy of the Library already present on the user's computer
|
112
|
+
system, and (b) will operate properly with a modified version
|
113
|
+
of the Library that is interface-compatible with the Linked
|
114
|
+
Version.
|
115
|
+
|
116
|
+
e) Provide Installation Information, but only if you would otherwise
|
117
|
+
be required to provide such information under section 6 of the
|
118
|
+
GNU GPL, and only to the extent that such information is
|
119
|
+
necessary to install and execute a modified version of the
|
120
|
+
Combined Work produced by recombining or relinking the
|
121
|
+
Application with a modified version of the Linked Version. (If
|
122
|
+
you use option 4d0, the Installation Information must accompany
|
123
|
+
the Minimal Corresponding Source and Corresponding Application
|
124
|
+
Code. If you use option 4d1, you must provide the Installation
|
125
|
+
Information in the manner specified by section 6 of the GNU GPL
|
126
|
+
for conveying Corresponding Source.)
|
127
|
+
|
128
|
+
5. Combined Libraries.
|
129
|
+
|
130
|
+
You may place library facilities that are a work based on the
|
131
|
+
Library side by side in a single library together with other library
|
132
|
+
facilities that are not Applications and are not covered by this
|
133
|
+
License, and convey such a combined library under terms of your
|
134
|
+
choice, if you do both of the following:
|
135
|
+
|
136
|
+
a) Accompany the combined library with a copy of the same work based
|
137
|
+
on the Library, uncombined with any other library facilities,
|
138
|
+
conveyed under the terms of this License.
|
139
|
+
|
140
|
+
b) Give prominent notice with the combined library that part of it
|
141
|
+
is a work based on the Library, and explaining where to find the
|
142
|
+
accompanying uncombined form of the same work.
|
143
|
+
|
144
|
+
6. Revised Versions of the GNU Lesser General Public License.
|
145
|
+
|
146
|
+
The Free Software Foundation may publish revised and/or new versions
|
147
|
+
of the GNU Lesser General Public License from time to time. Such new
|
148
|
+
versions will be similar in spirit to the present version, but may
|
149
|
+
differ in detail to address new problems or concerns.
|
150
|
+
|
151
|
+
Each version is given a distinguishing version number. If the
|
152
|
+
Library as you received it specifies that a certain numbered version
|
153
|
+
of the GNU Lesser General Public License "or any later version"
|
154
|
+
applies to it, you have the option of following the terms and
|
155
|
+
conditions either of that published version or of any later version
|
156
|
+
published by the Free Software Foundation. If the Library as you
|
157
|
+
received it does not specify a version number of the GNU Lesser
|
158
|
+
General Public License, you may choose any version of the GNU Lesser
|
159
|
+
General Public License ever published by the Free Software Foundation.
|
160
|
+
|
161
|
+
If the Library as you received it specifies that a proxy can decide
|
162
|
+
whether future versions of the GNU Lesser General Public License shall
|
163
|
+
apply, that proxy's public statement of acceptance of any version is
|
164
|
+
permanent authorization for you to choose that version for the
|
165
|
+
Library.
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Karafka Sidekiq Backend
|
2
2
|
|
3
|
-
[![Build Status](https://
|
3
|
+
[![Build Status](https://github.com/karafka/sidekiq-backend/workflows/ci/badge.svg)](https://github.com/karafka/sidekiq-backend/actions?query=workflow%3Aci)
|
4
4
|
[![Join the chat at https://gitter.im/karafka/karafka](https://badges.gitter.im/karafka/karafka.svg)](https://gitter.im/karafka/karafka?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
5
5
|
|
6
6
|
[Karafka Sidekiq Backend](https://github.com/karafka/sidekiq-backend) provides support for consuming (processing) received Kafka messages inside of Sidekiq workers.
|
@@ -45,6 +45,7 @@ or on a per topic level:
|
|
45
45
|
App.routes.draw do
|
46
46
|
consumer_group :videos_consumer do
|
47
47
|
topic :binary_video_details do
|
48
|
+
backend :sidekiq
|
48
49
|
consumer Videos::DetailsConsumer
|
49
50
|
worker Workers::DetailsWorker
|
50
51
|
interchanger Interchangers::MyCustomInterchanger
|
@@ -129,7 +130,7 @@ end
|
|
129
130
|
## References
|
130
131
|
|
131
132
|
* [Karafka framework](https://github.com/karafka/karafka)
|
132
|
-
* [Karafka Sidekiq Backend
|
133
|
+
* [Karafka Sidekiq Backend Actions CI](https://github.com/karafka/sidekiq-backend/actions?query=workflow%3Aci)
|
133
134
|
* [Karafka Sidekiq Backend Coditsu](https://app.coditsu.io/karafka/repositories/karafka-sidekiq-backend)
|
134
135
|
|
135
136
|
## Note on contributions
|
@@ -13,11 +13,11 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = 'https://github.com/karafka/karafka-sidekiq-backend'
|
14
14
|
spec.summary = 'Karafka Sidekiq backend for background messages processing'
|
15
15
|
spec.description = 'Karafka Sidekiq backend for background messages processing'
|
16
|
-
spec.license = '
|
16
|
+
spec.license = 'LGPL-3.0'
|
17
17
|
|
18
18
|
spec.add_dependency 'karafka', '~> 1.3.0'
|
19
19
|
spec.add_dependency 'sidekiq', '>= 4.2'
|
20
|
-
spec.required_ruby_version = '>= 2.
|
20
|
+
spec.required_ruby_version = '>= 2.5.0'
|
21
21
|
|
22
22
|
if $PROGRAM_NAME.end_with?('gem')
|
23
23
|
spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
|
@@ -6,7 +6,7 @@ module Karafka
|
|
6
6
|
# Sidekiq backend that schedules stuff to Sidekiq worker for delayed execution
|
7
7
|
module Sidekiq
|
8
8
|
# Karafka Sidekiq backend version
|
9
|
-
VERSION = '1.3.
|
9
|
+
VERSION = '1.3.1'
|
10
10
|
|
11
11
|
# Enqueues the execution of perform method into a worker.
|
12
12
|
# @note Each worker needs to have a class #perform_async method that will allow us to pass
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karafka-sidekiq-backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
34
34
|
KJG/fhg1JV5vVDdVy6x+tv5SQ5ctU0feCsVfESi3rE3zRd+nvzE9HcZ5aXeL1UtJ
|
35
35
|
nT5Xrioegu2w1jPyVEgyZgTZC5rvD0nNS5sFNQ==
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date:
|
37
|
+
date: 2020-04-27 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: karafka
|
@@ -73,15 +73,15 @@ extra_rdoc_files: []
|
|
73
73
|
files:
|
74
74
|
- ".coditsu/ci.yml"
|
75
75
|
- ".github/FUNDING.yml"
|
76
|
+
- ".github/workflows/ci.yml"
|
76
77
|
- ".gitignore"
|
77
78
|
- ".rspec"
|
78
79
|
- ".ruby-gemset"
|
79
80
|
- ".ruby-version"
|
80
|
-
- ".travis.yml"
|
81
81
|
- CHANGELOG.md
|
82
82
|
- Gemfile
|
83
83
|
- Gemfile.lock
|
84
|
-
-
|
84
|
+
- LICENSE
|
85
85
|
- README.md
|
86
86
|
- Rakefile
|
87
87
|
- certs/mensfeld.pem
|
@@ -102,7 +102,7 @@ files:
|
|
102
102
|
- lib/karafka_sidekiq_backend.rb
|
103
103
|
homepage: https://github.com/karafka/karafka-sidekiq-backend
|
104
104
|
licenses:
|
105
|
-
-
|
105
|
+
- LGPL-3.0
|
106
106
|
metadata: {}
|
107
107
|
post_install_message:
|
108
108
|
rdoc_options: []
|
@@ -112,14 +112,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
112
|
requirements:
|
113
113
|
- - ">="
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: 2.
|
115
|
+
version: 2.5.0
|
116
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
117
|
requirements:
|
118
118
|
- - ">="
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
|
-
rubygems_version: 3.
|
122
|
+
rubygems_version: 3.1.2
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: Karafka Sidekiq backend for background messages processing
|
metadata.gz.sig
CHANGED
Binary file
|
data/.travis.yml
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
services:
|
2
|
-
- docker
|
3
|
-
|
4
|
-
dist: trusty
|
5
|
-
cache: bundler
|
6
|
-
|
7
|
-
git:
|
8
|
-
depth: false
|
9
|
-
|
10
|
-
test: &test
|
11
|
-
stage: Test
|
12
|
-
language: ruby
|
13
|
-
before_install:
|
14
|
-
- gem install bundler
|
15
|
-
- gem update --system
|
16
|
-
script: bundle exec rspec
|
17
|
-
|
18
|
-
jobs:
|
19
|
-
include:
|
20
|
-
- <<: *test
|
21
|
-
rvm: 2.6.3
|
22
|
-
- <<: *test
|
23
|
-
rvm: 2.5.5
|
24
|
-
|
25
|
-
- stage: coditsu
|
26
|
-
language: ruby
|
27
|
-
rvm: 2.6.3
|
28
|
-
before_install:
|
29
|
-
- gem update --system
|
30
|
-
- gem install bundler
|
31
|
-
script: \curl -sSL https://api.coditsu.io/run/ci | bash
|
32
|
-
|
33
|
-
stages:
|
34
|
-
- coditsu
|
35
|
-
- test
|
data/MIT-LICENCE
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
2
|
-
a copy of this software and associated documentation files (the
|
3
|
-
"Software"), to deal in the Software without restriction, including
|
4
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
5
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
6
|
-
permit persons to whom the Software is furnished to do so, subject to
|
7
|
-
the following conditions:
|
8
|
-
|
9
|
-
The above copyright notice and this permission notice shall be
|
10
|
-
included in all copies or substantial portions of the Software.
|
11
|
-
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
13
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
14
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
15
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
16
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
17
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
18
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|