karafka 2.1.2 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79ce608360e19cbc8ec133decd7630b6b4188b17b41ae3d936d732bb8a8298d2
4
- data.tar.gz: 12a0dc8d6b6b3969fe4b1b98b0c73bcf148569011c4429b01dc2a61d970d77ce
3
+ metadata.gz: 6e65b59d084427bababbe797da6aa39ce76d04ceb235bdc43d5f85649e030c0f
4
+ data.tar.gz: a0599693bea1a05f2066180492cdb5017ac609b118195c64983990550f8e7e98
5
5
  SHA512:
6
- metadata.gz: 7863261c75047221d08525bec6e6c65a9a65be48529305f0a754a247ec48c50105e7213d62d637cc5f3036b4054043983dd2fc556fc83c29c1625599139c100b
7
- data.tar.gz: 74109272f65bee2f97a3076721e53ff90d6d718177a0edda86ca1fa321ef16daa02b9e952cc40a07dde60ac9fa33e6557e2b3ebb1b3d4b31258217ea9b0b0792
6
+ metadata.gz: 9ef5dfbce059aedad3c24911a02e05068122d78d6e54f183c9b1155f1bb6b9f80cfc49cc7cdcc678ea427f86b1832f161aa7c9a411afbb2e6d83fc87bc67ffbe
7
+ data.tar.gz: 43f0a4ae3c9247df214d6fccd7ee9735a975b45cb0db49dd9490d675abe5d03ffeddbafc658d3953a39243304fd7754a265d60450d941f5a19dfa3cbe3716ac9
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Karafka framework changelog
2
2
 
3
+ ## 2.1.3 (2023-05-29)
4
+ - [Maintenance] Add linter to ensure, that all integration specs end with `_spec.rb`.
5
+ - [Fix] Fix `#retrying?` helper result value (Aerdayne).
6
+ - [Fix] Fix `mark_as_consumed!` raising an error instead of `false` on `unknown_member_id` (#1461).
7
+ - [Fix] Enable phantom tests.
8
+
3
9
  ## 2.1.2 (2023-05-26)
4
10
  - Set minimum `karafka-core` on `2.0.13` to make sure correct version of `karafka-rdkafka` is used.
5
11
  - Set minimum `waterdrop` on `2.5.3` to make sure correct version of `waterdrop` is used.
@@ -8,7 +14,7 @@
8
14
  - [Fix] Liveness Probe Doesn't Meet HTTP 1.1 Criteria - Causing Kubernetes Restarts (#1450)
9
15
 
10
16
  ## 2.1.0 (2023-05-22)
11
- - **[Feature]** Provide ability to use CurrentAttributes with ActiveJob's Karafka adapter.
17
+ - **[Feature]** Provide ability to use CurrentAttributes with ActiveJob's Karafka adapter (federicomoretti).
12
18
  - **[Feature]** Introduce collective Virtual Partitions offset management.
13
19
  - **[Feature]** Use virtual offsets to filter out messages that would be re-processed upon retries.
14
20
  - [Improvement] No longer break processing on failing parallel virtual partitions in ActiveJob because it is compensated by virtual marking.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- karafka (2.1.2)
4
+ karafka (2.1.3)
5
5
  karafka-core (>= 2.0.13, < 3.0.0)
6
6
  thor (>= 0.20)
7
7
  waterdrop (>= 2.5.3, < 3.0.0)
data/README.md CHANGED
@@ -59,8 +59,8 @@ We also maintain many [integration specs](https://github.com/karafka/karafka/tre
59
59
  1. Add and install Karafka:
60
60
 
61
61
  ```bash
62
- # Make sure to install Karafka 2.0
63
- bundle add karafka --version ">= 2.0.28"
62
+ # Make sure to install Karafka 2.1
63
+ bundle add karafka --version ">= 2.1.2"
64
64
 
65
65
  bundle exec karafka install
66
66
  ```
@@ -225,7 +225,7 @@ module Karafka
225
225
  # different flow after there is an error, for example for resources cleanup, small manual
226
226
  # backoff or different instrumentation tracking.
227
227
  def retrying?
228
- coordinator.pause_tracker.attempt.positive?
228
+ coordinator.pause_tracker.attempt > 1
229
229
  end
230
230
 
231
231
  # Pauses the processing from the last offset to retry on given message
@@ -305,6 +305,8 @@ module Karafka
305
305
  case e.code
306
306
  when :assignment_lost
307
307
  return false
308
+ when :unknown_member_id
309
+ return false
308
310
  when :no_offset
309
311
  return true
310
312
  when :coordinator_load_in_progress
@@ -3,5 +3,5 @@
3
3
  # Main module namespace
4
4
  module Karafka
5
5
  # Current Karafka version
6
- VERSION = '2.1.2'
6
+ VERSION = '2.1.3'
7
7
  end
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.1.2
4
+ version: 2.1.3
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-05-26 00:00:00.000000000 Z
38
+ date: 2023-05-29 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