karafka 2.0.31 → 2.0.32
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 +5 -0
- data/Gemfile.lock +1 -1
- data/lib/karafka/connection/client.rb +8 -0
- data/lib/karafka/time_trackers/poll.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: f5364527333b7924241340cbf9df8b3c189447ccf6c1b79612845d2d170990fe
|
4
|
+
data.tar.gz: d590b8f940a5fa00926d386e196607124e090888e0fa1fff321d935cb0818d47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25cec5ed66eb1199ec92c0206a34fba4583d79a9ba7d3ce68041855c48e1bb4bf97590ada597649c801340026270c604ed2a00c57c12f90c6fb861e3d85fd0b3
|
7
|
+
data.tar.gz: dbd604d94c1dc1df6a0040b24e4c5754205303ec7d7a3a15271d2309df3caa56f34f94ef7ea44904b020b57154c17dd06688b23b94ded4230dde321e5f3f1d91
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Karafka framework changelog
|
2
2
|
|
3
|
+
## 2.0.32 (2022-02-13)
|
4
|
+
- [Fix] Many non-existing topic subscriptions propagate poll errors beyond client
|
5
|
+
- [Improvement] Ignore `unknown_topic_or_part` errors in dev when `allow.auto.create.topics` is on.
|
6
|
+
- [Improvement] Optimize temporary errors handling in polling for a better backoff policy
|
7
|
+
|
3
8
|
## 2.0.31 (2022-02-12)
|
4
9
|
- [Feature] Allow for adding partitions via `Admin#create_partitions` API.
|
5
10
|
- [Fix] Do not ignore admin errors upon invalid configuration (#1254)
|
data/Gemfile.lock
CHANGED
@@ -380,6 +380,14 @@ module Karafka
|
|
380
380
|
when :network_exception # 13
|
381
381
|
early_report = true
|
382
382
|
when :transport # -195
|
383
|
+
early_report = true
|
384
|
+
# @see
|
385
|
+
# https://github.com/confluentinc/confluent-kafka-dotnet/issues/1366#issuecomment-821842990
|
386
|
+
# This will be raised each time poll detects a non-existing topic. When auto creation is
|
387
|
+
# on, we can safely ignore it
|
388
|
+
when :unknown_topic_or_part # 3
|
389
|
+
return nil if @subscription_group.kafka[:'allow.auto.create.topics']
|
390
|
+
|
383
391
|
early_report = true
|
384
392
|
end
|
385
393
|
|
@@ -51,6 +51,9 @@ module Karafka
|
|
51
51
|
# Sleeps for amount of time matching attempt, so we sleep more with each attempt in case of
|
52
52
|
# a retry.
|
53
53
|
def backoff
|
54
|
+
# backoff should not be included in the remaining time computation, otherwise it runs
|
55
|
+
# shortly, never back-offing beyond a small number because of the sleep
|
56
|
+
@remaining += backoff_interval
|
54
57
|
# Sleep requires seconds not ms
|
55
58
|
sleep(backoff_interval / 1_000.0)
|
56
59
|
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.32
|
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-02-
|
38
|
+
date: 2023-02-14 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
|