karafka 2.6.0.rc2 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/karafka.gemspec +2 -2
- data/lib/karafka/constraints.rb +3 -3
- data/lib/karafka/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 00213ecae5aa07409c67a645f32e89beeab05399cb8e323a86bbcd8af538dd03
|
|
4
|
+
data.tar.gz: b790e3752b012e70095fa97510617f833107ca74282f721cb7afe378e4285e49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3f03f3ba3d3bcdb616f3dc666e719224947a8de3a4a72ed1c4162da76f903bc99365a51bffe5e43a18894c2426756f75825e3b09e6174c47ad385c5aabb26e6
|
|
7
|
+
data.tar.gz: bf1ce2ca9cf4444349c2bf81c9b4c896f70a29b02a0415ef149d1f000705caf324b61513ddf348ee5dfb1bb763ce22de09227bde7ab2f76c79d21ed58992d05b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Karafka Framework Changelog
|
|
2
2
|
|
|
3
|
-
## 2.6.0 (
|
|
3
|
+
## 2.6.0 (2026-08-05)
|
|
4
4
|
- **[Breaking]** Remove the flat global pause configuration accessors (`config.pause_timeout`, `config.pause_max_timeout`, `config.pause_with_exponential_backoff`) deprecated in 2.5.2. Use the nested `config.pause.*` namespace (`config.pause.timeout`, `config.pause.max_timeout`, `config.pause.with_exponential_backoff`) instead.
|
|
5
5
|
- **[Breaking]** Nest the per-topic pause configuration under `topic.pause`. The flat `topic.pause_timeout`, `topic.pause_max_timeout`, and `topic.pause_with_exponential_backoff` readers are removed in favor of `topic.pause.timeout`, `topic.pause.max_timeout`, and `topic.pause.with_exponential_backoff`; `topic.to_h` now emits a nested `pause:` hash instead of the flat keys. The Pro Granular Backoffs override DSL is unchanged (`pause(timeout:, max_timeout:, with_exponential_backoff:)`), and `topic.pausing`/`topic.pausing?` are now `topic.pause`/`topic.pause?`. In OSS `topic.pause` reflects the global `config.pause.*` settings; per-topic overriding remains a Pro feature.
|
|
6
6
|
- **[Feature]** Add `Karafka::Admin.read_partition_offsets` (and `Admin::Topics#read_partition_offsets`) exposing the `rd_kafka_ListOffsets` admin API to query partition offsets by spec (`:earliest`, `:latest`, `:max_timestamp`, or a timestamp in ms) without a consumer group. Accepts an optional `isolation_level:` keyword (pass `READ_COMMITTED` for the Last Stable Offset instead of the high-watermark, giving accurate lag on transactional topics).
|
data/karafka.gemspec
CHANGED
|
@@ -21,9 +21,9 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
without having to focus on things that are not your business domain.
|
|
22
22
|
DESC
|
|
23
23
|
|
|
24
|
-
spec.add_dependency "karafka-core", ">= 2.6.
|
|
24
|
+
spec.add_dependency "karafka-core", ">= 2.6.2", "< 2.7.0"
|
|
25
25
|
spec.add_dependency "karafka-rdkafka", ">= 0.28.0"
|
|
26
|
-
spec.add_dependency "waterdrop", ">= 2.10.
|
|
26
|
+
spec.add_dependency "waterdrop", ">= 2.10.2", "< 3.0.0"
|
|
27
27
|
spec.add_dependency "zeitwerk", "~> 2.3"
|
|
28
28
|
|
|
29
29
|
spec.required_ruby_version = ">= 3.2.0"
|
data/lib/karafka/constraints.rb
CHANGED
|
@@ -15,13 +15,13 @@ module Karafka
|
|
|
15
15
|
# Skip verification if web is not used at all
|
|
16
16
|
return unless require_version("karafka/web")
|
|
17
17
|
|
|
18
|
-
# All good if version higher than 0.
|
|
19
|
-
return if version(Karafka::Web::VERSION) >= version("0.
|
|
18
|
+
# All good if version higher than 1.0.0.rc1 because we expect 1.0.0.rc2 or higher
|
|
19
|
+
return if version(Karafka::Web::VERSION) >= version("1.0.0.rc2")
|
|
20
20
|
|
|
21
21
|
# If older web-ui used, we cannot allow it
|
|
22
22
|
raise(
|
|
23
23
|
Errors::DependencyConstraintsError,
|
|
24
|
-
"karafka-web < 0.
|
|
24
|
+
"karafka-web < 1.0.0.rc2 is not compatible with this karafka version"
|
|
25
25
|
)
|
|
26
26
|
end
|
|
27
27
|
|
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: 2.6.0
|
|
4
|
+
version: 2.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Maciej Mensfeld
|
|
@@ -15,7 +15,7 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 2.6.
|
|
18
|
+
version: 2.6.2
|
|
19
19
|
- - "<"
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
21
|
version: 2.7.0
|
|
@@ -25,7 +25,7 @@ dependencies:
|
|
|
25
25
|
requirements:
|
|
26
26
|
- - ">="
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
|
-
version: 2.6.
|
|
28
|
+
version: 2.6.2
|
|
29
29
|
- - "<"
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
31
|
version: 2.7.0
|
|
@@ -49,7 +49,7 @@ dependencies:
|
|
|
49
49
|
requirements:
|
|
50
50
|
- - ">="
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
|
-
version: 2.10.
|
|
52
|
+
version: 2.10.2
|
|
53
53
|
- - "<"
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
55
|
version: 3.0.0
|
|
@@ -59,7 +59,7 @@ dependencies:
|
|
|
59
59
|
requirements:
|
|
60
60
|
- - ">="
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: 2.10.
|
|
62
|
+
version: 2.10.2
|
|
63
63
|
- - "<"
|
|
64
64
|
- !ruby/object:Gem::Version
|
|
65
65
|
version: 3.0.0
|