waterdrop 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +8 -8
- data/lib/water_drop/async_producer.rb +1 -1
- data/lib/water_drop/config.rb +6 -0
- data/lib/water_drop/version.rb +1 -1
- data/log/{.keep → .gitkeep} +0 -0
- data/waterdrop.gemspec +1 -1
- metadata +11 -5
- 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: 9aa9a3c27690b1043477c934d821097a6ed26cfb6b8a93350c0bd8106dd93d48
|
4
|
+
data.tar.gz: bea917267a5147b6d0b63fd7bb5625ba8ed30909e34f410d962c379eaa164105
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14433eeab4639ed935843846bc42ef5b411eb5e475e9fbb8889a1771cbfa6e1483828910af95600804574501ecd9fa59d62dbdbf7986b3f16c5cc7d54bd4989e
|
7
|
+
data.tar.gz: 436356135f2f6ce423e21db454efcbf05418d324cc721b11d4fa43f69d49689c974179190b2a3701870f5a7a2850e7f16c4503509ff1eea3e0a3921622d603ef
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# WaterDrop changelog
|
2
2
|
|
3
|
+
## 1.3.3 (2019-01-06)
|
4
|
+
- #119 - Support exactly once delivery and transactional messaging (kylekthompson)
|
5
|
+
- #119 - Support delivery_boy 1.0 (kylekthompson)
|
6
|
+
|
3
7
|
## 1.3.2 (2019-26-12)
|
4
8
|
- Ruby 2.7.0 support
|
5
9
|
- Fix missing `delegate` dependency on `ruby-kafka`
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
waterdrop (1.3.
|
5
|
-
delivery_boy (
|
4
|
+
waterdrop (1.3.3)
|
5
|
+
delivery_boy (>= 0.2, < 2.x)
|
6
6
|
dry-configurable (~> 0.8)
|
7
7
|
dry-monitor (~> 0.3)
|
8
8
|
dry-validation (~> 1.2)
|
@@ -13,7 +13,7 @@ GEM
|
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
15
|
concurrent-ruby (1.1.5)
|
16
|
-
delivery_boy (0.
|
16
|
+
delivery_boy (1.0.0)
|
17
17
|
king_konf (~> 0.3)
|
18
18
|
ruby-kafka (~> 0.7.8)
|
19
19
|
diff-lcs (1.3)
|
@@ -71,15 +71,15 @@ GEM
|
|
71
71
|
rspec-core (~> 3.9.0)
|
72
72
|
rspec-expectations (~> 3.9.0)
|
73
73
|
rspec-mocks (~> 3.9.0)
|
74
|
-
rspec-core (3.9.
|
75
|
-
rspec-support (~> 3.9.
|
74
|
+
rspec-core (3.9.1)
|
75
|
+
rspec-support (~> 3.9.1)
|
76
76
|
rspec-expectations (3.9.0)
|
77
77
|
diff-lcs (>= 1.2.0, < 2.0)
|
78
78
|
rspec-support (~> 3.9.0)
|
79
|
-
rspec-mocks (3.9.
|
79
|
+
rspec-mocks (3.9.1)
|
80
80
|
diff-lcs (>= 1.2.0, < 2.0)
|
81
81
|
rspec-support (~> 3.9.0)
|
82
|
-
rspec-support (3.9.
|
82
|
+
rspec-support (3.9.2)
|
83
83
|
ruby-kafka (0.7.10)
|
84
84
|
digest-crc
|
85
85
|
simplecov (0.17.1)
|
@@ -98,4 +98,4 @@ DEPENDENCIES
|
|
98
98
|
waterdrop!
|
99
99
|
|
100
100
|
BUNDLED WITH
|
101
|
-
2.1.
|
101
|
+
2.1.4
|
@@ -18,7 +18,7 @@ module WaterDrop
|
|
18
18
|
|
19
19
|
d_method = WaterDrop.config.raise_on_buffer_overflow ? :deliver_async! : :deliver_async
|
20
20
|
|
21
|
-
DeliveryBoy.send(d_method, message, options)
|
21
|
+
DeliveryBoy.send(d_method, message, **options)
|
22
22
|
rescue Kafka::Error => e
|
23
23
|
graceful_attempt?(attempts_count, message, options, e) ? retry : raise(e)
|
24
24
|
end
|
data/lib/water_drop/config.rb
CHANGED
@@ -71,6 +71,12 @@ module WaterDrop
|
|
71
71
|
# delivery. Default is 100 messages. Disable buffer size based background deliveries by
|
72
72
|
# setting this to 0.
|
73
73
|
setting :delivery_threshold, 100
|
74
|
+
# option [Boolean]
|
75
|
+
setting :idempotent, false
|
76
|
+
# option [Boolean]
|
77
|
+
setting :transactional, false
|
78
|
+
# option [Integer]
|
79
|
+
setting :transactional_timeout, 60
|
74
80
|
|
75
81
|
# option [Integer] The number of retries when attempting to deliver messages.
|
76
82
|
setting :max_retries, 2
|
data/lib/water_drop/version.rb
CHANGED
data/log/{.keep → .gitkeep}
RENAMED
File without changes
|
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 'delivery_boy', '
|
19
|
+
spec.add_dependency 'delivery_boy', '>= 0.2', '< 2.x'
|
20
20
|
spec.add_dependency 'dry-configurable', '~> 0.8'
|
21
21
|
spec.add_dependency 'dry-monitor', '~> 0.3'
|
22
22
|
spec.add_dependency 'dry-validation', '~> 1.2'
|
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: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -34,22 +34,28 @@ cert_chain:
|
|
34
34
|
KJG/fhg1JV5vVDdVy6x+tv5SQ5ctU0feCsVfESi3rE3zRd+nvzE9HcZ5aXeL1UtJ
|
35
35
|
nT5Xrioegu2w1jPyVEgyZgTZC5rvD0nNS5sFNQ==
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date:
|
37
|
+
date: 2020-01-06 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: delivery_boy
|
41
41
|
requirement: !ruby/object:Gem::Requirement
|
42
42
|
requirements:
|
43
|
-
- - "
|
43
|
+
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0.2'
|
46
|
+
- - "<"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 2.x
|
46
49
|
type: :runtime
|
47
50
|
prerelease: false
|
48
51
|
version_requirements: !ruby/object:Gem::Requirement
|
49
52
|
requirements:
|
50
|
-
- - "
|
53
|
+
- - ">="
|
51
54
|
- !ruby/object:Gem::Version
|
52
55
|
version: '0.2'
|
56
|
+
- - "<"
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: 2.x
|
53
59
|
- !ruby/object:Gem::Dependency
|
54
60
|
name: dry-configurable
|
55
61
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,7 +161,7 @@ files:
|
|
155
161
|
- lib/water_drop/sync_producer.rb
|
156
162
|
- lib/water_drop/version.rb
|
157
163
|
- lib/waterdrop.rb
|
158
|
-
- log/.
|
164
|
+
- log/.gitkeep
|
159
165
|
- waterdrop.gemspec
|
160
166
|
homepage: https://github.com/karafka/waterdrop
|
161
167
|
licenses:
|
metadata.gz.sig
CHANGED
Binary file
|