waterdrop 2.5.1 → 2.5.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: 2b66f5a9cb1c6fe80fe594777cb60f9fd20f120c2a897ab439404c825503bb37
4
- data.tar.gz: 985491a90694c7c729e5c2dd8a581127c96ec26a5eb5eda53d03bc32ab463ee6
3
+ metadata.gz: ca3df6bcca5db1eed27ca612023b0df892e9a4c790b28353180184e0bdd4d784
4
+ data.tar.gz: f4d60c59bbfff8a8af5d64f7580b4fa0509e15b3f8382849913a80a2e49830e5
5
5
  SHA512:
6
- metadata.gz: 6ec7c01eb151ad4142f7eccfb988c56394f53b4679e480a9d8706c73323e3f6a25f8f704595fe56d5ba45f7995756add34931cf91bfcb079be6873bcc5563371
7
- data.tar.gz: 94261472ac4786fd7911bce919b45267b0d1dc7298965c37ceee51718733d72a650c50745fabac7a0a8604909414b4efb6233640f3f24c499e51f42316d3597a
6
+ metadata.gz: 60d191c91cf40275895324a17c5f82838fe2f5215b3da983ad1008fa6a2ebf30ac228451b6108af5db56b0f104578541a6e35dc9fb645d0e74e38f7f9e99f233
7
+ data.tar.gz: 7185c404cdcfb406ee19be95290d85a316291268bdc5c668fb482c4f496d55e648f4604b5a707cbb1d6ed6b9d79553753f6e123714c19932e9088e83b3cf5f58
checksums.yaml.gz.sig CHANGED
Binary file
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.1
1
+ 3.2.2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # WaterDrop changelog
2
2
 
3
+ ## 2.5.3 (2023-05-26)
4
+ - Require `karafka-core` `2.0.13`
5
+ - Include topic name in the `error.occurred` notification payload.
6
+ - Include topic name in the `message.acknowledged` notification payload.
7
+
8
+ ## 2.5.2 (2023-04-24)
9
+ - [Fix] Require missing Pathname (#345)
10
+
3
11
  ## 2.5.1 (2023-03-09)
4
12
  - [Feature] Introduce a configurable backoff upon `librdkafka` queue full (false by default).
5
13
 
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- waterdrop (2.5.1)
5
- karafka-core (>= 2.0.12, < 3.0.0)
4
+ waterdrop (2.5.3)
5
+ karafka-core (>= 2.0.13, < 3.0.0)
6
6
  zeitwerk (~> 2.3)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.0.4.2)
11
+ activesupport (7.0.4.3)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 1.6, < 2)
14
14
  minitest (>= 5.1)
@@ -22,10 +22,10 @@ GEM
22
22
  ffi (1.15.5)
23
23
  i18n (1.12.0)
24
24
  concurrent-ruby (~> 1.0)
25
- karafka-core (2.0.12)
25
+ karafka-core (2.0.13)
26
26
  concurrent-ruby (>= 1.1)
27
- karafka-rdkafka (>= 0.12.1)
28
- karafka-rdkafka (0.12.1)
27
+ karafka-rdkafka (>= 0.12.3)
28
+ karafka-rdkafka (0.12.3)
29
29
  ffi (~> 1.15)
30
30
  mini_portile2 (~> 2.6)
31
31
  rake (> 12)
@@ -41,7 +41,7 @@ GEM
41
41
  rspec-expectations (3.12.2)
42
42
  diff-lcs (>= 1.2.0, < 2.0)
43
43
  rspec-support (~> 3.12.0)
44
- rspec-mocks (3.12.3)
44
+ rspec-mocks (3.12.5)
45
45
  diff-lcs (>= 1.2.0, < 2.0)
46
46
  rspec-support (~> 3.12.0)
47
47
  rspec-support (3.12.0)
@@ -67,4 +67,4 @@ DEPENDENCIES
67
67
  waterdrop!
68
68
 
69
69
  BUNDLED WITH
70
- 2.4.7
70
+ 2.4.12
@@ -35,6 +35,7 @@ module WaterDrop
35
35
  producer_id: @producer_id,
36
36
  offset: delivery_report.offset,
37
37
  partition: delivery_report.partition,
38
+ topic: delivery_report.topic_name,
38
39
  type: 'librdkafka.dispatch_error'
39
40
  )
40
41
  end
@@ -45,7 +46,8 @@ module WaterDrop
45
46
  'message.acknowledged',
46
47
  producer_id: @producer_id,
47
48
  offset: delivery_report.offset,
48
- partition: delivery_report.partition
49
+ partition: delivery_report.partition,
50
+ topic: delivery_report.topic_name
49
51
  )
50
52
  end
51
53
  end
@@ -3,5 +3,5 @@
3
3
  # WaterDrop library
4
4
  module WaterDrop
5
5
  # Current WaterDrop version
6
- VERSION = '2.5.1'
6
+ VERSION = '2.5.3'
7
7
  end
data/lib/waterdrop.rb CHANGED
@@ -8,6 +8,7 @@
8
8
  zeitwerk
9
9
  securerandom
10
10
  karafka-core
11
+ pathname
11
12
  ].each { |lib| require lib }
12
13
 
13
14
  # WaterDrop library
data/renovate.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": [
4
+ "config:base"
5
+ ]
6
+ }
data/waterdrop.gemspec CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.description = spec.summary
17
17
  spec.license = 'MIT'
18
18
 
19
- spec.add_dependency 'karafka-core', '>= 2.0.12', '< 3.0.0'
19
+ spec.add_dependency 'karafka-core', '>= 2.0.13', '< 3.0.0'
20
20
  spec.add_dependency 'zeitwerk', '~> 2.3'
21
21
 
22
22
  if $PROGRAM_NAME.end_with?('gem')
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: waterdrop
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.5.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-03-09 00:00:00.000000000 Z
38
+ date: 2023-05-26 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: karafka-core
@@ -43,7 +43,7 @@ dependencies:
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 2.0.12
46
+ version: 2.0.13
47
47
  - - "<"
48
48
  - !ruby/object:Gem::Version
49
49
  version: 3.0.0
@@ -53,7 +53,7 @@ dependencies:
53
53
  requirements:
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: 2.0.12
56
+ version: 2.0.13
57
57
  - - "<"
58
58
  - !ruby/object:Gem::Version
59
59
  version: 3.0.0
@@ -121,6 +121,7 @@ files:
121
121
  - lib/waterdrop/producer/sync.rb
122
122
  - lib/waterdrop/version.rb
123
123
  - log/.gitkeep
124
+ - renovate.json
124
125
  - waterdrop.gemspec
125
126
  homepage: https://karafka.io
126
127
  licenses:
@@ -148,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
149
  - !ruby/object:Gem::Version
149
150
  version: '0'
150
151
  requirements: []
151
- rubygems_version: 3.4.6
152
+ rubygems_version: 3.4.10
152
153
  signing_key:
153
154
  specification_version: 4
154
155
  summary: Kafka messaging made easy!
metadata.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- }��zQ0c��U��Ǚ�j�:����fu�������$�E���| ?6qt��5Q�֑Mf�ۺ0O�J�0X�)e�?��_\�d�=8�m�@f�,�q/��G�|�錨T����w�'��t(2�^36X�a���������3�m�*I�h��@2:�ѩr��+/��m�-�;F���1���@�.� ��`QN;����G�5���
2
- 4b�6u��8�mt����� �T��E��x;A�/ze!Hͫx7?�g9 ��h���x =v�P5Snc�9
1
+ 
2
+ y��-�����ħԎ���+��V^�`ͰT���T��(!è��'D.7�jJ�����_h(P4��(6&��?OJȦD}���xd'��5�
3
+ ��� ��n�s� �)�c�l:�v)���0����pS�"���R�W�̢}�����؝�g��Qb�9�T���5�S5�F��^�