waterdrop 2.4.9 → 2.4.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2e707af4409ace682680ca2131b89221ee04552b856a0855e663a209e09e0fb
4
- data.tar.gz: fed47f90aa9397754ec6819fcc720d18ad3cace184a053ca6dbbec1b86480172
3
+ metadata.gz: 1ea085fa5ca2adea3def9f04dc8ec1d228aea2cb073ec9b41dc10efd08f2fcc4
4
+ data.tar.gz: b830060cefaf8fef9e5aa68c52534300146f05eb17f151ef720eaad934208bdc
5
5
  SHA512:
6
- metadata.gz: 8e2fa6d1abbaa0cae44a8a8fd5e17ef64a851e48c0433d74ca259a52747b92aa94beeabf2ccbc8c3df3efec67050f04b22cafb346f8f69d279effe86590a7079
7
- data.tar.gz: 5eefb7ba3ae2c3f1ce6253fd5206762c4fd94698719968f42a3e7ddd5cc18a90459ed2eddc29c01452fd9c211cd1e57cb71f66338b428eaf71e0b3ddb0eb45c2
6
+ metadata.gz: 5ab0511f78ef3f1abc12c85334880df782e375ff23a14a2304b97ec78beea81a04659ec17b60a135f1e94e545463531b9202ebbc59c0273d7094b7d40b64c9a4
7
+ data.tar.gz: c1a94e01292ff4a4d4e18ae7d88714b71d68f2e36cec9dd497087d0f359e65b9a94b77d66977e3a4e233152ae657bb0d83b1421fe0409e52d419efe3e163b813
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # WaterDrop changelog
2
2
 
3
+ ## 2.4.10 (2023-01-30)
4
+ - Include `caller` in the error instrumentation to align with Karafka.
5
+
3
6
  ## 2.4.9 (2023-01-11)
4
7
  - Remove empty debug logging out of `LoggerListener`.
5
8
  - Do not lock Ruby version in Karafka in favour of `karafka-core`.
data/Gemfile.lock CHANGED
@@ -1,20 +1,20 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- waterdrop (2.4.9)
4
+ waterdrop (2.4.10)
5
5
  karafka-core (>= 2.0.9, < 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)
11
+ activesupport (7.0.4.2)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 1.6, < 2)
14
14
  minitest (>= 5.1)
15
15
  tzinfo (~> 2.0)
16
16
  byebug (11.1.3)
17
- concurrent-ruby (1.1.10)
17
+ concurrent-ruby (1.2.0)
18
18
  diff-lcs (1.5.0)
19
19
  docile (1.4.0)
20
20
  factory_bot (6.2.1)
@@ -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.2)
44
+ rspec-mocks (3.12.3)
45
45
  diff-lcs (>= 1.2.0, < 2.0)
46
46
  rspec-support (~> 3.12.0)
47
47
  rspec-support (3.12.0)
@@ -51,11 +51,12 @@ GEM
51
51
  simplecov_json_formatter (~> 0.1)
52
52
  simplecov-html (0.12.3)
53
53
  simplecov_json_formatter (0.1.4)
54
- tzinfo (2.0.5)
54
+ tzinfo (2.0.6)
55
55
  concurrent-ruby (~> 1.0)
56
56
  zeitwerk (2.6.6)
57
57
 
58
58
  PLATFORMS
59
+ arm64-darwin-21
59
60
  x86_64-linux
60
61
 
61
62
  DEPENDENCIES
@@ -66,4 +67,4 @@ DEPENDENCIES
66
67
  waterdrop!
67
68
 
68
69
  BUNDLED WITH
69
- 2.4.2
70
+ 2.4.5
data/README.md CHANGED
@@ -90,6 +90,8 @@ end
90
90
 
91
91
  ### WaterDrop configuration options
92
92
 
93
+ Some of the options are:
94
+
93
95
  | Option | Description |
94
96
  |--------------------|-----------------------------------------------------------------|
95
97
  | `id` | id of the producer for instrumentation and logging |
@@ -98,6 +100,8 @@ end
98
100
  | `max_wait_timeout` | Waits that long for the delivery report or raises an error |
99
101
  | `wait_timeout` | Waits that long before re-check of delivery report availability |
100
102
 
103
+ Full list of the root configuration options is available [here](https://github.com/karafka/waterdrop/blob/master/lib/waterdrop/config.rb#L25).
104
+
101
105
  ### Kafka configuration options
102
106
 
103
107
  You can create producers with different `kafka` settings. Documentation of the available configuration options is available on https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md.
@@ -25,6 +25,7 @@ module WaterDrop
25
25
 
26
26
  @monitor.instrument(
27
27
  'error.occurred',
28
+ caller: self,
28
29
  error: error,
29
30
  producer_id: @producer_id,
30
31
  type: 'librdkafka.error'
@@ -110,6 +110,7 @@ module WaterDrop
110
110
  rescue *RESCUED_ERRORS => e
111
111
  @monitor.instrument(
112
112
  'error.occurred',
113
+ caller: self,
113
114
  error: e,
114
115
  producer_id: id,
115
116
  dispatched: dispatched,
@@ -3,5 +3,5 @@
3
3
  # WaterDrop library
4
4
  module WaterDrop
5
5
  # Current WaterDrop version
6
- VERSION = '2.4.9'
6
+ VERSION = '2.4.10'
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: waterdrop
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.9
4
+ version: 2.4.10
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-01-11 00:00:00.000000000 Z
38
+ date: 2023-01-30 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: karafka-core
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubygems_version: 3.3.4
145
+ rubygems_version: 3.4.1
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Kafka messaging made easy!
metadata.gz.sig CHANGED
Binary file