waterdrop 2.7.0.beta1 → 2.7.0.beta2

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: d2a4c74fefd80d0de855aa3117c48603d6cbe03351ba5f25f15761d546265dd5
4
- data.tar.gz: 7f24353f0a2c48c8b38a1800677b9997bfb9056fdb360245dfaff5d01f625ad0
3
+ metadata.gz: a6dfd0ef7aff36bfe71f30559f800f8ecda0da5cf81a74405cac28dfe3e8dc74
4
+ data.tar.gz: e7493d2849de807a5a4f839fd462292de72ecc15a641e994da0e3260a1a3d01a
5
5
  SHA512:
6
- metadata.gz: cada00734dd6c14336368518cab6921b0ed14606950de8c74bb2385ce8621178e9202bff77f73f9196cbcdc6283aa26c3c93487c62818f1d0506e12e2d56b107
7
- data.tar.gz: 7885a43d0d2f8e49dcc27d12c186b7f7a4fced13d8ee59c3a521921a7bd7327736d3dd1c54b5c36f01a729a49cf30f321df209e555cfa34e9ab3b96b57caa31c
6
+ metadata.gz: 6727f00fb12200aa38165dfd4f4092e2f6ae21e773952fe532fdcd80eed2bed7577de6425c89fab0c14d77cc66021e949e2c506f824e59adc08e411ecd55b0b7
7
+ data.tar.gz: 7cc3a2cd9df8f371ddc4143596bf5a81029200bf8bb2f7e5c50a1ea21fa2b05db71f84d31e4538db65364d8ce1e3dc7c4afdda7489276cff7b64965bec067d42
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -9,6 +9,7 @@ This release contains **BREAKING** changes. Make sure to read and apply upgrade
9
9
  - **[Breaking]** Change default timeouts so final delivery `message.timeout.ms` is less that `max_wait_time` so we do not end up with not final verdict.
10
10
  - **[Breaking]** Update all the time related configuration settings to be in `ms` and not mixed.
11
11
  - **[Breaking]** Remove no longer needed `wait_timeout` configuration option.
12
+ - [Enhancement] Provide `WaterDrop::Producer#transaction?` that returns only when producer has an active transaction running.
12
13
  - [Enhancement] Introduce `instrument_on_wait_queue_full` flag (defaults to `true`) to be able to configure whether non critical (retryable) queue full errors should be instrumented in the error pipeline. Useful when building high-performance pipes with WaterDrop queue retry backoff as a throttler.
13
14
 
14
15
  ### Upgrade Notes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- waterdrop (2.7.0.beta1)
4
+ waterdrop (2.7.0.beta2)
5
5
  karafka-core (>= 2.4.0.beta2, < 3.0.0)
6
6
  zeitwerk (~> 2.3)
7
7
 
@@ -89,6 +89,11 @@ module WaterDrop
89
89
  end
90
90
  end
91
91
 
92
+ # @return [Boolean] true if we are in an active transaction
93
+ def transaction?
94
+ @transaction_mutex.owned?
95
+ end
96
+
92
97
  # @return [Boolean] Is this producer a transactional one
93
98
  def transactional?
94
99
  return @transactional if instance_variable_defined?(:'@transactional')
@@ -3,5 +3,5 @@
3
3
  # WaterDrop library
4
4
  module WaterDrop
5
5
  # Current WaterDrop version
6
- VERSION = '2.7.0.beta1'
6
+ VERSION = '2.7.0.beta2'
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.7.0.beta1
4
+ version: 2.7.0.beta2
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: 2024-03-26 00:00:00.000000000 Z
38
+ date: 2024-03-27 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