karafka 2.1.11 → 2.1.12

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: 8d1e3000ced82b96afc7c4588d20170e0908d3b41305eead2e5e0a850c9a70c4
4
- data.tar.gz: 1b16fc0a06f1bfd9bdb1207dd1faac04d3a7f956ccb42edd45ada76fed6dcf09
3
+ metadata.gz: de7a5880846f3b3cdab696683f4753bebdb6d133648297e930a415949937d1f5
4
+ data.tar.gz: df12badb044151bccbecb3832302182794af543b1740d9a939f984b299bd1521
5
5
  SHA512:
6
- metadata.gz: 7e018450fae0ad666bff80ca9875750303946746c20e527200ee569a1a182c3d81bb71b64a0b2bd94b4a35c8cf204326b26752b1d5c0425a1f544ff9b4572323
7
- data.tar.gz: 6025b3583179592313540231dd9d00354c30d8af3d49f482fc6c7dbd96359dbc7bbccee8cfa4cf1d14a2f5dfb3a9999b141317c782ec33af7503c4a8e26c616c
6
+ metadata.gz: 17fb8af9c36c3df7e6ef084aab4de9d796710cf6a324cbbac4be29a57dc09f254bac817ec0b44e2a0cf0d2b8aae69ab3834eb59c93bce4d4a540d8000808f31f
7
+ data.tar.gz: 8fedb0f5dfe436bd3854caf5a4ac0da367345be98e059e47ca24dd9d31d414aaf25debc66533965f9fdbdd3b5a78aeb4d719929b1ee274f5f3a36b3737ee2393
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Karafka framework changelog
2
2
 
3
+ ## 2.1.12 (2023-08-25)
4
+ - [Fix] Fix a case where DLQ + VP without intermediate marking would mark earlier message then the last one.
5
+
3
6
  ## 2.1.11 (2023-08-23)
4
7
  - [Enhancement] Expand the error handling for offset related queries with timeout error retries.
5
8
  - [Enhancement] Allow for connection proxy timeouts configuration.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- karafka (2.1.11)
4
+ karafka (2.1.12)
5
5
  karafka-core (>= 2.1.1, < 2.2.0)
6
6
  thor (>= 0.20)
7
7
  waterdrop (>= 2.6.6, < 3.0.0)
@@ -28,7 +28,7 @@ module Karafka
28
28
 
29
29
  # When we encounter non-recoverable message, we skip it and go on with our lives
30
30
  def handle_after_consume
31
- coordinator.on_finished do
31
+ coordinator.on_finished do |last_group_message|
32
32
  return if revoked?
33
33
 
34
34
  if coordinator.success?
@@ -36,7 +36,7 @@ module Karafka
36
36
 
37
37
  return if coordinator.manual_pause?
38
38
 
39
- mark_as_consumed(messages.last)
39
+ mark_as_consumed(last_group_message)
40
40
  elsif coordinator.pause_tracker.attempt <= topic.dead_letter_queue.max_retries
41
41
  retry_after_pause
42
42
  # If we've reached number of retries that we could, we need to skip the first
@@ -31,7 +31,7 @@ module Karafka
31
31
  # DLQ flow is standard here, what is not, is the success component where we need to
32
32
  # take into consideration the filtering
33
33
  def handle_after_consume
34
- coordinator.on_finished do
34
+ coordinator.on_finished do |last_group_message|
35
35
  return if revoked?
36
36
 
37
37
  if coordinator.success?
@@ -39,7 +39,7 @@ module Karafka
39
39
 
40
40
  return if coordinator.manual_pause?
41
41
 
42
- mark_as_consumed(messages.last)
42
+ mark_as_consumed(last_group_message)
43
43
 
44
44
  handle_post_filtering
45
45
  elsif coordinator.pause_tracker.attempt <= topic.dead_letter_queue.max_retries
@@ -3,5 +3,5 @@
3
3
  # Main module namespace
4
4
  module Karafka
5
5
  # Current Karafka version
6
- VERSION = '2.1.11'
6
+ VERSION = '2.1.12'
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.11
4
+ version: 2.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -35,7 +35,7 @@ cert_chain:
35
35
  AnG1dJU+yL2BK7vaVytLTstJME5mepSZ46qqIJXMuWob/YPDmVaBF39TDSG9e34s
36
36
  msG3BiCqgOgHAnL23+CN3Rt8MsuRfEtoTKpJVcCfoEoNHOkc
37
37
  -----END CERTIFICATE-----
38
- date: 2023-08-23 00:00:00.000000000 Z
38
+ date: 2023-08-25 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