karafka 1.3.4 → 1.3.5
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/.ruby-version +1 -1
- data/.travis.yml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +20 -20
- data/lib/karafka/server.rb +4 -1
- data/lib/karafka/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc0f99f61db358d26a8e65c677c387a4dc18ada9fb3a0fba91d512408fe6045c
|
4
|
+
data.tar.gz: 9c5f338634cf431aa8f69b75cc18540a6a223cfb613691a92c4ce4eacb3a8914
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41f1615ac9cf15f9a8fe8b511836399634298a94c6249e9ac09449d82138c5af073e593b127129fa9bf7ed336758b2095372c0fb271a998d7db843e6f8a53a2c
|
7
|
+
data.tar.gz: cbf4dbfb337cda933e21d9ecd6ffd3f37fbe58b4ced9a0b48a5124837de2b8656ca0caa0a1f94fc5c14c4d6e9c2073e25c94c224571d4a514bab9bb052fed9f2
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.7.
|
1
|
+
2.7.1
|
data/.travis.yml
CHANGED
@@ -18,15 +18,15 @@ test: &test
|
|
18
18
|
jobs:
|
19
19
|
include:
|
20
20
|
- <<: *test
|
21
|
-
rvm: 2.7.
|
21
|
+
rvm: 2.7.1
|
22
22
|
- <<: *test
|
23
|
-
rvm: 2.6.
|
23
|
+
rvm: 2.6.6
|
24
24
|
- <<: *test
|
25
|
-
rvm: 2.5.
|
25
|
+
rvm: 2.5.8
|
26
26
|
|
27
27
|
- stage: coditsu
|
28
28
|
language: ruby
|
29
|
-
rvm: 2.7.
|
29
|
+
rvm: 2.7.1
|
30
30
|
before_install:
|
31
31
|
- yes | gem update --system
|
32
32
|
script: \curl -sSL https://api.coditsu.io/run/ci | bash
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
karafka (1.3.
|
4
|
+
karafka (1.3.5)
|
5
5
|
dry-configurable (~> 0.8)
|
6
6
|
dry-inflector (~> 0.1)
|
7
7
|
dry-monitor (~> 0.3)
|
@@ -18,7 +18,7 @@ PATH
|
|
18
18
|
GEM
|
19
19
|
remote: https://rubygems.org/
|
20
20
|
specs:
|
21
|
-
activesupport (6.0.2.
|
21
|
+
activesupport (6.0.2.2)
|
22
22
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
23
23
|
i18n (>= 0.7, < 2)
|
24
24
|
minitest (~> 5.1)
|
@@ -26,13 +26,13 @@ GEM
|
|
26
26
|
zeitwerk (~> 2.2)
|
27
27
|
byebug (11.1.1)
|
28
28
|
concurrent-ruby (1.1.6)
|
29
|
-
delivery_boy (1.0.
|
29
|
+
delivery_boy (1.0.1)
|
30
30
|
king_konf (~> 0.3)
|
31
|
-
ruby-kafka (~> 0
|
31
|
+
ruby-kafka (~> 1.0)
|
32
32
|
diff-lcs (1.3)
|
33
|
-
digest-crc (0.
|
33
|
+
digest-crc (0.5.1)
|
34
34
|
docile (1.3.2)
|
35
|
-
dry-configurable (0.11.
|
35
|
+
dry-configurable (0.11.5)
|
36
36
|
concurrent-ruby (~> 1.0)
|
37
37
|
dry-core (~> 0.4, >= 0.4.7)
|
38
38
|
dry-equalizer (~> 0.2)
|
@@ -57,35 +57,35 @@ GEM
|
|
57
57
|
dry-core (~> 0.4)
|
58
58
|
dry-equalizer (~> 0.2)
|
59
59
|
dry-events (~> 0.1)
|
60
|
-
dry-schema (1.
|
60
|
+
dry-schema (1.5.0)
|
61
61
|
concurrent-ruby (~> 1.0)
|
62
62
|
dry-configurable (~> 0.8, >= 0.8.3)
|
63
63
|
dry-core (~> 0.4)
|
64
64
|
dry-equalizer (~> 0.2)
|
65
65
|
dry-initializer (~> 3.0)
|
66
66
|
dry-logic (~> 1.0)
|
67
|
-
dry-types (~> 1.
|
68
|
-
dry-types (1.
|
67
|
+
dry-types (~> 1.4)
|
68
|
+
dry-types (1.4.0)
|
69
69
|
concurrent-ruby (~> 1.0)
|
70
70
|
dry-container (~> 0.3)
|
71
71
|
dry-core (~> 0.4, >= 0.4.4)
|
72
72
|
dry-equalizer (~> 0.3)
|
73
73
|
dry-inflector (~> 0.1, >= 0.1.2)
|
74
74
|
dry-logic (~> 1.0, >= 1.0.2)
|
75
|
-
dry-validation (1.
|
75
|
+
dry-validation (1.5.0)
|
76
76
|
concurrent-ruby (~> 1.0)
|
77
77
|
dry-container (~> 0.7, >= 0.7.1)
|
78
78
|
dry-core (~> 0.4)
|
79
79
|
dry-equalizer (~> 0.2)
|
80
80
|
dry-initializer (~> 3.0)
|
81
|
-
dry-schema (~> 1.
|
81
|
+
dry-schema (~> 1.5)
|
82
82
|
envlogic (1.1.0)
|
83
83
|
dry-inflector (~> 0.1)
|
84
|
-
factory_bot (5.1.
|
84
|
+
factory_bot (5.1.2)
|
85
85
|
activesupport (>= 4.2.0)
|
86
86
|
i18n (1.8.2)
|
87
87
|
concurrent-ruby (~> 1.0)
|
88
|
-
io-console (0.5.
|
88
|
+
io-console (0.5.6)
|
89
89
|
irb (1.2.3)
|
90
90
|
reline (>= 0.0.1)
|
91
91
|
king_konf (0.3.7)
|
@@ -100,31 +100,31 @@ GEM
|
|
100
100
|
rspec-mocks (~> 3.9.0)
|
101
101
|
rspec-core (3.9.1)
|
102
102
|
rspec-support (~> 3.9.1)
|
103
|
-
rspec-expectations (3.9.
|
103
|
+
rspec-expectations (3.9.1)
|
104
104
|
diff-lcs (>= 1.2.0, < 2.0)
|
105
105
|
rspec-support (~> 3.9.0)
|
106
106
|
rspec-mocks (3.9.1)
|
107
107
|
diff-lcs (>= 1.2.0, < 2.0)
|
108
108
|
rspec-support (~> 3.9.0)
|
109
109
|
rspec-support (3.9.2)
|
110
|
-
ruby-kafka (0.
|
110
|
+
ruby-kafka (1.0.0)
|
111
111
|
digest-crc
|
112
|
-
simplecov (0.18.
|
112
|
+
simplecov (0.18.5)
|
113
113
|
docile (~> 1.1)
|
114
114
|
simplecov-html (~> 0.11)
|
115
|
-
simplecov-html (0.12.
|
115
|
+
simplecov-html (0.12.2)
|
116
116
|
thor (1.0.1)
|
117
117
|
thread_safe (0.3.6)
|
118
|
-
tzinfo (1.2.
|
118
|
+
tzinfo (1.2.7)
|
119
119
|
thread_safe (~> 0.1)
|
120
|
-
waterdrop (1.3.
|
120
|
+
waterdrop (1.3.4)
|
121
121
|
delivery_boy (>= 0.2, < 2.x)
|
122
122
|
dry-configurable (~> 0.8)
|
123
123
|
dry-monitor (~> 0.3)
|
124
124
|
dry-validation (~> 1.2)
|
125
125
|
ruby-kafka (>= 0.7.8)
|
126
126
|
zeitwerk (~> 2.1)
|
127
|
-
zeitwerk (2.
|
127
|
+
zeitwerk (2.3.0)
|
128
128
|
|
129
129
|
PLATFORMS
|
130
130
|
ruby
|
data/lib/karafka/server.rb
CHANGED
@@ -58,9 +58,12 @@ module Karafka
|
|
58
58
|
def stop_supervised
|
59
59
|
Karafka::App.stop!
|
60
60
|
|
61
|
+
# Temporary patch until https://github.com/dry-rb/dry-configurable/issues/93 is fixed
|
62
|
+
timeout = Thread.new { Karafka::App.config.shutdown_timeout }.join.value
|
63
|
+
|
61
64
|
# We check from time to time (for the timeout period) if all the threads finished
|
62
65
|
# their work and if so, we can just return and normal shutdown process will take place
|
63
|
-
(
|
66
|
+
(timeout * SUPERVISION_CHECK_FACTOR).to_i.times do
|
64
67
|
if consumer_threads.count(&:alive?).zero?
|
65
68
|
Thread.new { Karafka.monitor.instrument('app.stopped') }.join
|
66
69
|
return
|
data/lib/karafka/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
KJG/fhg1JV5vVDdVy6x+tv5SQ5ctU0feCsVfESi3rE3zRd+nvzE9HcZ5aXeL1UtJ
|
37
37
|
nT5Xrioegu2w1jPyVEgyZgTZC5rvD0nNS5sFNQ==
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date: 2020-
|
39
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: dry-configurable
|
metadata.gz.sig
CHANGED
Binary file
|