karafka 1.2.11 → 1.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +13 -13
- data/lib/karafka/helpers/class_matcher.rb +6 -0
- data/lib/karafka/responders/builder.rb +1 -1
- data/lib/karafka/schemas/consumer_group.rb +1 -0
- data/lib/karafka/setup/config.rb +2 -0
- data/lib/karafka/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d14a343dffbcc91c326964cc833bb82e9daedfdc4913eb6478c69e6caa5a995c
|
4
|
+
data.tar.gz: 14c3b5a9275dae6a5fb70790b4caf579cd2e1d9a6ac5d56307d950090012ec3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 890c1b249d3457984c2c392dc1bed2413f36704d1268247bd67b2fa70cd3489370786a71e6be6804aa9dc1e02136bc92e97a338c917577929f2a8e0aabaf07bc
|
7
|
+
data.tar.gz: cf9a0043a4b82797bf0f6d36a8ba18c97702e22dd9fea25d5c1df13ca3b30b4255244d828e6cd3fba68807d2717209ae626d2a99a25f497a7e15b04d80168d6f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Karafka framework changelog
|
2
2
|
|
3
|
+
## 1.2.13
|
4
|
+
- Add support for parameter sasl_over_ssl in ruby-kafka
|
5
|
+
|
6
|
+
## 1.2.12
|
7
|
+
- #29 - Consumer class names must have the word "Consumer" in it in order to work (Sidekiq backend)
|
8
|
+
|
3
9
|
## 1.2.11
|
4
10
|
- [#470](https://github.com/karafka/karafka/issues/470) Karafka not working with dry-configurable 0.8
|
5
11
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
karafka (1.2.
|
4
|
+
karafka (1.2.13)
|
5
5
|
activesupport (>= 4.0)
|
6
6
|
dry-configurable (~> 0.8)
|
7
7
|
dry-inflector (~> 0.1)
|
@@ -18,20 +18,20 @@ PATH
|
|
18
18
|
GEM
|
19
19
|
remote: https://rubygems.org/
|
20
20
|
specs:
|
21
|
-
activesupport (5.2.
|
21
|
+
activesupport (5.2.3)
|
22
22
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
23
23
|
i18n (>= 0.7, < 2)
|
24
24
|
minitest (~> 5.1)
|
25
25
|
tzinfo (~> 1.1)
|
26
26
|
benchmark-ips (2.7.2)
|
27
|
-
concurrent-ruby (1.1.
|
27
|
+
concurrent-ruby (1.1.5)
|
28
28
|
delivery_boy (0.2.7)
|
29
29
|
king_konf (~> 0.2)
|
30
30
|
ruby-kafka (~> 0.5)
|
31
31
|
diff-lcs (1.3)
|
32
32
|
digest-crc (0.4.1)
|
33
33
|
docile (1.3.1)
|
34
|
-
dry-configurable (0.8.
|
34
|
+
dry-configurable (0.8.2)
|
35
35
|
concurrent-ruby (~> 1.0)
|
36
36
|
dry-core (~> 0.4, >= 0.4.7)
|
37
37
|
dry-container (0.7.0)
|
@@ -39,14 +39,14 @@ GEM
|
|
39
39
|
dry-configurable (~> 0.1, >= 0.1.3)
|
40
40
|
dry-core (0.4.7)
|
41
41
|
concurrent-ruby (~> 1.0)
|
42
|
-
dry-equalizer (0.2.
|
43
|
-
dry-events (0.1.
|
42
|
+
dry-equalizer (0.2.2)
|
43
|
+
dry-events (0.1.1)
|
44
44
|
concurrent-ruby (~> 1.0)
|
45
45
|
dry-core (~> 0.4)
|
46
46
|
dry-equalizer (~> 0.2)
|
47
47
|
dry-inflector (0.1.2)
|
48
|
-
dry-logic (0.
|
49
|
-
|
48
|
+
dry-logic (0.6.1)
|
49
|
+
concurrent-ruby (~> 1.0)
|
50
50
|
dry-core (~> 0.2)
|
51
51
|
dry-equalizer (~> 0.2)
|
52
52
|
dry-monitor (0.3.0)
|
@@ -54,23 +54,23 @@ GEM
|
|
54
54
|
dry-core (~> 0.4)
|
55
55
|
dry-equalizer (~> 0.2)
|
56
56
|
dry-events (~> 0.1)
|
57
|
-
dry-types (0.14.
|
57
|
+
dry-types (0.14.1)
|
58
58
|
concurrent-ruby (~> 1.0)
|
59
59
|
dry-container (~> 0.3)
|
60
60
|
dry-core (~> 0.4, >= 0.4.4)
|
61
61
|
dry-equalizer (~> 0.2)
|
62
62
|
dry-inflector (~> 0.1, >= 0.1.2)
|
63
63
|
dry-logic (~> 0.5, >= 0.5)
|
64
|
-
dry-validation (0.13.
|
64
|
+
dry-validation (0.13.2)
|
65
65
|
concurrent-ruby (~> 1.0)
|
66
66
|
dry-configurable (~> 0.1, >= 0.1.3)
|
67
67
|
dry-core (~> 0.2, >= 0.2.1)
|
68
68
|
dry-equalizer (~> 0.2)
|
69
69
|
dry-logic (~> 0.5, >= 0.5.0)
|
70
|
-
dry-types (~> 0.14
|
70
|
+
dry-types (~> 0.14.0)
|
71
71
|
envlogic (1.1.0)
|
72
72
|
dry-inflector (~> 0.1)
|
73
|
-
i18n (1.
|
73
|
+
i18n (1.6.0)
|
74
74
|
concurrent-ruby (~> 1.0)
|
75
75
|
json (2.1.0)
|
76
76
|
king_konf (0.3.7)
|
@@ -92,7 +92,7 @@ GEM
|
|
92
92
|
diff-lcs (>= 1.2.0, < 2.0)
|
93
93
|
rspec-support (~> 3.8.0)
|
94
94
|
rspec-support (3.8.0)
|
95
|
-
ruby-kafka (0.7.
|
95
|
+
ruby-kafka (0.7.7)
|
96
96
|
digest-crc
|
97
97
|
simplecov (0.16.1)
|
98
98
|
docile (~> 1.1)
|
@@ -42,6 +42,12 @@ module Karafka
|
|
42
42
|
# matcher.name #=> Super2Responder
|
43
43
|
def name
|
44
44
|
inflected = @klass.to_s.split('::').last.to_s
|
45
|
+
# We inject the from into the name just in case it is missing as in a situation like
|
46
|
+
# that it would just sanitize the name without adding the "to" postfix.
|
47
|
+
# It could create cases when we want to build for example a responder to a consumer
|
48
|
+
# that does not have the "Consumer" postfix and would do nothing returning the same name.
|
49
|
+
# That would be bad as the matching classes shouldn't be matched to themselves.
|
50
|
+
inflected << @from unless inflected.include?(@from)
|
45
51
|
inflected.gsub!(@from, @to)
|
46
52
|
inflected.gsub!(CONSTANT_REGEXP, '')
|
47
53
|
inflected
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module Karafka
|
4
4
|
# Responders namespace encapsulates all the internal responder implementation parts
|
5
5
|
module Responders
|
6
|
-
# Responders builder is used
|
6
|
+
# Responders builder is used for finding (based on the consumer class name) a responder
|
7
7
|
# that match the consumer. We use it when user does not provide a responder inside routing,
|
8
8
|
# but he still names responder with the same convention (and namespaces) as consumer
|
9
9
|
#
|
data/lib/karafka/setup/config.rb
CHANGED
@@ -156,6 +156,8 @@ module Karafka
|
|
156
156
|
setting :sasl_scram_password, nil
|
157
157
|
# option sasl_scram_mechanism [String, nil] Scram mechanism, either 'sha256' or 'sha512'
|
158
158
|
setting :sasl_scram_mechanism, nil
|
159
|
+
# option sasl_over_ssl [Boolean] whether to enforce SSL with SASL
|
160
|
+
setting :sasl_over_ssl, true
|
159
161
|
end
|
160
162
|
|
161
163
|
class << self
|
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.2.
|
4
|
+
version: 1.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-
|
13
|
+
date: 2019-05-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|