karafka 2.0.36 → 2.0.37
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/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/karafka/admin.rb +4 -1
- data/lib/karafka/cli/topics.rb +3 -0
- data/lib/karafka/version.rb +1 -1
- data.tar.gz.sig +0 -0
- 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: bab9c1d7bc952b4ecbfc4fad794d7e7c861cd3a332cc5d9058cef6c0bd9b57cb
|
4
|
+
data.tar.gz: 7662bd8dc5748d9112f3c72b2912619534e45750188f78df2f69a7e6ae1f9c31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a99a84d538a74bd27d5a0f585a12dbbe67eb76ab63cc1a0984cbe1562f230070ad482418f85393a3a479e81534a0957a0863c91f3a7f5b6433f74efd317c79e
|
7
|
+
data.tar.gz: 7da6129cd795f65d821bae897864648e4a5e37c0d07e8745f110f0d03a23d688d7717ab6c42652c4660fe3be3d26ee7051a8c2c66c1fcb62834a1c4159bd4ac4
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Karafka framework changelog
|
2
2
|
|
3
|
+
## 2.0.37 (2023-03-20)
|
4
|
+
- [Fix] Declarative topics execution on a secondary cluster run topics creation on the primary one (#1365)
|
5
|
+
- [Fix] Admin read operations commit offset when not needed (#1369)
|
6
|
+
|
3
7
|
## 2.0.36 (2023-03-17)
|
4
8
|
- [Refactor] Rename internal naming of `Structurable` to `Declaratives` for declarative topics feature.
|
5
9
|
- [Fix] AJ + DLQ + MOM + LRJ is pausing indefinitely after the first job (#1362)
|
data/Gemfile.lock
CHANGED
data/lib/karafka/admin.rb
CHANGED
@@ -28,7 +28,10 @@ module Karafka
|
|
28
28
|
'enable.partition.eof': true,
|
29
29
|
'statistics.interval.ms': 0,
|
30
30
|
# Fetch at most 5 MBs when using admin
|
31
|
-
'fetch.message.max.bytes': 5 * 1_048_576
|
31
|
+
'fetch.message.max.bytes': 5 * 1_048_576,
|
32
|
+
# Do not commit offset automatically, this prevents offset tracking for operations involving
|
33
|
+
# a consumer instance
|
34
|
+
'enable.auto.commit': false
|
32
35
|
}.freeze
|
33
36
|
|
34
37
|
private_constant :Topic, :CONFIG_DEFAULTS, :MAX_WAIT_TIMEOUT, :MAX_ATTEMPTS
|
data/lib/karafka/cli/topics.rb
CHANGED
@@ -116,11 +116,14 @@ module Karafka
|
|
116
116
|
return @declaratives_routing_topics if @declaratives_routing_topics
|
117
117
|
|
118
118
|
collected_topics = {}
|
119
|
+
default_servers = Karafka::App.config.kafka[:'bootstrap.servers']
|
119
120
|
|
120
121
|
App.consumer_groups.each do |consumer_group|
|
121
122
|
consumer_group.topics.each do |topic|
|
122
123
|
# Skip topics that were explicitly disabled from management
|
123
124
|
next unless topic.declaratives.active?
|
125
|
+
# If bootstrap servers are different, consider this a different cluster
|
126
|
+
next unless default_servers == topic.kafka[:'bootstrap.servers']
|
124
127
|
|
125
128
|
collected_topics[topic.name] ||= topic
|
126
129
|
end
|
data/lib/karafka/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
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: 2.0.
|
4
|
+
version: 2.0.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
Qf04B9ceLUaC4fPVEz10FyobjaFoY4i32xRto3XnrzeAgfEe4swLq8bQsR3w/EF3
|
36
36
|
MGU0FeSV2Yj7Xc2x/7BzLK8xQn5l7Yy75iPF+KP3vVmDHnNl
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2023-03-
|
38
|
+
date: 2023-03-20 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: karafka-core
|
metadata.gz.sig
CHANGED
Binary file
|