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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c07e80909dae4b51b139a24718f22649cf71f2d939e1e3f8e9b7bbab2d0e1c9d
4
- data.tar.gz: 357fb83dc4a746dd2ac77b28978c18201b52b2b5ece1a84bb4edfc27f44134d7
3
+ metadata.gz: 9aa9a3c27690b1043477c934d821097a6ed26cfb6b8a93350c0bd8106dd93d48
4
+ data.tar.gz: bea917267a5147b6d0b63fd7bb5625ba8ed30909e34f410d962c379eaa164105
5
5
  SHA512:
6
- metadata.gz: 7cb034ee52bae8be3b6e4c58ed81360d522654bfcb83500fb221b98db39934d45cb19ad8b52d03f6333d370b5bc10b299785508a7b9851f520a4b546041d2a4f
7
- data.tar.gz: dd68dee18beb08134d0e01892c939dfacdce5defda468f5320d9eb72e147a6ee96d5778c00418a7bb60c08e13abf52c8ae57bb7f4185c1313393ff80cb91140d
6
+ metadata.gz: 14433eeab4639ed935843846bc42ef5b411eb5e475e9fbb8889a1771cbfa6e1483828910af95600804574501ecd9fa59d62dbdbf7986b3f16c5cc7d54bd4989e
7
+ data.tar.gz: 436356135f2f6ce423e21db454efcbf05418d324cc721b11d4fa43f69d49689c974179190b2a3701870f5a7a2850e7f16c4503509ff1eea3e0a3921622d603ef
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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`
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- waterdrop (1.3.2)
5
- delivery_boy (~> 0.2)
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.2.8)
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.0)
75
- rspec-support (~> 3.9.0)
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.0)
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.0)
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.2
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
@@ -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
@@ -3,5 +3,5 @@
3
3
  # WaterDrop library
4
4
  module WaterDrop
5
5
  # Current WaterDrop version
6
- VERSION = '1.3.2'
6
+ VERSION = '1.3.3'
7
7
  end
File without changes
@@ -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', '~> 0.2'
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.2
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: 2019-12-26 00:00:00.000000000 Z
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/.keep
164
+ - log/.gitkeep
159
165
  - waterdrop.gemspec
160
166
  homepage: https://github.com/karafka/waterdrop
161
167
  licenses:
metadata.gz.sig CHANGED
Binary file