karafka 1.3.3 → 1.3.4
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/CHANGELOG.md +4 -0
- data/Gemfile.lock +28 -29
- data/lib/karafka/attributes_map.rb +2 -8
- data/lib/karafka/cli/flow.rb +5 -1
- data/lib/karafka/contracts/server_cli_options.rb +2 -0
- 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: ddf68ae4e3a502480b2cdede179dca9a62a89e61cd0f7878fdf46629b4204437
|
4
|
+
data.tar.gz: 3e0ba01212a750838e946d73216b7dd5b02a19d3a9ac55d094bafbe800af511b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 056b083736bf303d2de7f9aefa83151229b6a8c6f8e6b279c2e06eee41047b1dd31d3361a7b101b9a34572dd22934ac136f1fbb41771e8070cb2ffb24e5f4b1a
|
7
|
+
data.tar.gz: 53da753b3835e0c8621a80adcdc0992a7737a3bce1cf0563a27ce76391d4fecc7c55c9d927cd675bf7096074081b2e91073c3a30bbeabcc6c919067812a5a595
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
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.4)
|
5
5
|
dry-configurable (~> 0.8)
|
6
6
|
dry-inflector (~> 0.1)
|
7
7
|
dry-monitor (~> 0.3)
|
@@ -24,17 +24,18 @@ GEM
|
|
24
24
|
minitest (~> 5.1)
|
25
25
|
tzinfo (~> 1.1)
|
26
26
|
zeitwerk (~> 2.2)
|
27
|
-
byebug (11.
|
28
|
-
concurrent-ruby (1.1.
|
29
|
-
delivery_boy (0.
|
27
|
+
byebug (11.1.1)
|
28
|
+
concurrent-ruby (1.1.6)
|
29
|
+
delivery_boy (1.0.0)
|
30
30
|
king_konf (~> 0.3)
|
31
31
|
ruby-kafka (~> 0.7.8)
|
32
32
|
diff-lcs (1.3)
|
33
33
|
digest-crc (0.4.1)
|
34
34
|
docile (1.3.2)
|
35
|
-
dry-configurable (0.
|
35
|
+
dry-configurable (0.11.0)
|
36
36
|
concurrent-ruby (~> 1.0)
|
37
37
|
dry-core (~> 0.4, >= 0.4.7)
|
38
|
+
dry-equalizer (~> 0.2)
|
38
39
|
dry-container (0.7.2)
|
39
40
|
concurrent-ruby (~> 1.0)
|
40
41
|
dry-configurable (~> 0.1, >= 0.1.3)
|
@@ -46,8 +47,8 @@ GEM
|
|
46
47
|
dry-core (~> 0.4)
|
47
48
|
dry-equalizer (~> 0.2)
|
48
49
|
dry-inflector (0.2.0)
|
49
|
-
dry-initializer (3.0.
|
50
|
-
dry-logic (1.0.
|
50
|
+
dry-initializer (3.0.3)
|
51
|
+
dry-logic (1.0.6)
|
51
52
|
concurrent-ruby (~> 1.0)
|
52
53
|
dry-core (~> 0.2)
|
53
54
|
dry-equalizer (~> 0.2)
|
@@ -56,7 +57,7 @@ GEM
|
|
56
57
|
dry-core (~> 0.4)
|
57
58
|
dry-equalizer (~> 0.2)
|
58
59
|
dry-events (~> 0.1)
|
59
|
-
dry-schema (1.4.
|
60
|
+
dry-schema (1.4.3)
|
60
61
|
concurrent-ruby (~> 1.0)
|
61
62
|
dry-configurable (~> 0.8, >= 0.8.3)
|
62
63
|
dry-core (~> 0.4)
|
@@ -64,62 +65,60 @@ GEM
|
|
64
65
|
dry-initializer (~> 3.0)
|
65
66
|
dry-logic (~> 1.0)
|
66
67
|
dry-types (~> 1.2)
|
67
|
-
dry-types (1.
|
68
|
+
dry-types (1.3.1)
|
68
69
|
concurrent-ruby (~> 1.0)
|
69
70
|
dry-container (~> 0.3)
|
70
71
|
dry-core (~> 0.4, >= 0.4.4)
|
71
72
|
dry-equalizer (~> 0.3)
|
72
73
|
dry-inflector (~> 0.1, >= 0.1.2)
|
73
74
|
dry-logic (~> 1.0, >= 1.0.2)
|
74
|
-
dry-validation (1.4.
|
75
|
+
dry-validation (1.4.2)
|
75
76
|
concurrent-ruby (~> 1.0)
|
76
77
|
dry-container (~> 0.7, >= 0.7.1)
|
77
78
|
dry-core (~> 0.4)
|
78
79
|
dry-equalizer (~> 0.2)
|
79
80
|
dry-initializer (~> 3.0)
|
80
|
-
dry-schema (~> 1.
|
81
|
+
dry-schema (~> 1.4, >= 1.4.3)
|
81
82
|
envlogic (1.1.0)
|
82
83
|
dry-inflector (~> 0.1)
|
83
84
|
factory_bot (5.1.1)
|
84
85
|
activesupport (>= 4.2.0)
|
85
|
-
i18n (1.
|
86
|
+
i18n (1.8.2)
|
86
87
|
concurrent-ruby (~> 1.0)
|
87
|
-
io-console (0.5.
|
88
|
-
irb (1.2.
|
88
|
+
io-console (0.5.5)
|
89
|
+
irb (1.2.3)
|
89
90
|
reline (>= 0.0.1)
|
90
|
-
json (2.3.0)
|
91
91
|
king_konf (0.3.7)
|
92
|
-
minitest (5.
|
92
|
+
minitest (5.14.0)
|
93
93
|
multi_json (1.14.1)
|
94
94
|
rake (13.0.1)
|
95
|
-
reline (0.1.
|
95
|
+
reline (0.1.3)
|
96
96
|
io-console (~> 0.5)
|
97
97
|
rspec (3.9.0)
|
98
98
|
rspec-core (~> 3.9.0)
|
99
99
|
rspec-expectations (~> 3.9.0)
|
100
100
|
rspec-mocks (~> 3.9.0)
|
101
|
-
rspec-core (3.9.
|
102
|
-
rspec-support (~> 3.9.
|
101
|
+
rspec-core (3.9.1)
|
102
|
+
rspec-support (~> 3.9.1)
|
103
103
|
rspec-expectations (3.9.0)
|
104
104
|
diff-lcs (>= 1.2.0, < 2.0)
|
105
105
|
rspec-support (~> 3.9.0)
|
106
|
-
rspec-mocks (3.9.
|
106
|
+
rspec-mocks (3.9.1)
|
107
107
|
diff-lcs (>= 1.2.0, < 2.0)
|
108
108
|
rspec-support (~> 3.9.0)
|
109
|
-
rspec-support (3.9.
|
109
|
+
rspec-support (3.9.2)
|
110
110
|
ruby-kafka (0.7.10)
|
111
111
|
digest-crc
|
112
|
-
simplecov (0.
|
112
|
+
simplecov (0.18.2)
|
113
113
|
docile (~> 1.1)
|
114
|
-
|
115
|
-
|
116
|
-
simplecov-html (0.10.2)
|
114
|
+
simplecov-html (~> 0.11)
|
115
|
+
simplecov-html (0.12.0)
|
117
116
|
thor (1.0.1)
|
118
117
|
thread_safe (0.3.6)
|
119
|
-
tzinfo (1.2.
|
118
|
+
tzinfo (1.2.6)
|
120
119
|
thread_safe (~> 0.1)
|
121
|
-
waterdrop (1.3.
|
122
|
-
delivery_boy (
|
120
|
+
waterdrop (1.3.3)
|
121
|
+
delivery_boy (>= 0.2, < 2.x)
|
123
122
|
dry-configurable (~> 0.8)
|
124
123
|
dry-monitor (~> 0.3)
|
125
124
|
dry-validation (~> 1.2)
|
@@ -138,4 +137,4 @@ DEPENDENCIES
|
|
138
137
|
simplecov
|
139
138
|
|
140
139
|
BUNDLED WITH
|
141
|
-
2.1.
|
140
|
+
2.1.4
|
@@ -52,14 +52,8 @@ module Karafka
|
|
52
52
|
ignored_settings = api_adapter[:subscribe]
|
53
53
|
defined_settings = api_adapter.values.flatten
|
54
54
|
karafka_settings = %i[batch_fetching]
|
55
|
-
|
56
|
-
dynamically_proxied = Karafka::Setup::Config
|
57
|
-
._settings
|
58
|
-
.settings
|
59
|
-
.find { |s| s.name == :kafka }
|
60
|
-
.value
|
61
|
-
.names
|
62
|
-
.to_a
|
55
|
+
|
56
|
+
dynamically_proxied = Karafka::Setup::Config.config.kafka.to_h.keys
|
63
57
|
|
64
58
|
(defined_settings + dynamically_proxied).uniq + karafka_settings - ignored_settings
|
65
59
|
end
|
data/lib/karafka/cli/flow.rb
CHANGED
@@ -38,7 +38,11 @@ module Karafka
|
|
38
38
|
# @param label [String] label describing value
|
39
39
|
# @param value [String] value that should be printed
|
40
40
|
def print(label, value)
|
41
|
-
printf
|
41
|
+
printf(
|
42
|
+
"%<label>-25s %<value>s\n",
|
43
|
+
label: " - #{label}:",
|
44
|
+
value: value
|
45
|
+
)
|
42
46
|
end
|
43
47
|
end
|
44
48
|
end
|
@@ -6,6 +6,8 @@ module Karafka
|
|
6
6
|
# We validate some basics + the list of consumer_groups on which we want to use, to make
|
7
7
|
# sure that all of them are defined, plus that a pidfile does not exist
|
8
8
|
class ServerCliOptions < Dry::Validation::Contract
|
9
|
+
config.messages.load_paths << File.join(Karafka.gem_root, 'config', 'errors.yml')
|
10
|
+
|
9
11
|
params do
|
10
12
|
optional(:pid).filled(:str?)
|
11
13
|
optional(:daemon).filled(:bool?)
|
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.4
|
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:
|
39
|
+
date: 2020-02-17 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
|