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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +1 -0
- data/Gemfile.lock +1 -1
- data/lib/waterdrop/producer/transactions.rb +5 -0
- data/lib/waterdrop/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a6dfd0ef7aff36bfe71f30559f800f8ecda0da5cf81a74405cac28dfe3e8dc74
|
|
4
|
+
data.tar.gz: e7493d2849de807a5a4f839fd462292de72ecc15a641e994da0e3260a1a3d01a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
@@ -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')
|
data/lib/waterdrop/version.rb
CHANGED
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.
|
|
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-
|
|
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
|