kafka-retryable 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 3e3e11e3ec3526e5291914811c1a6eb77930240c
4
- data.tar.gz: a232f9eeb8204624874d0f5bba71d7980c1606a4
3
+ metadata.gz: 226561f0b7d19427e0f81d24ef5aadd21abfcb4a
4
+ data.tar.gz: 829d30815c9dd9ceb42a6a212d1c8f3b97a0f895
5
5
  SHA512:
6
- metadata.gz: 6cd09ed9d90544eccfc71ce24f76732c28138642c69354312f75a3e1a87666f9b8ecd18699dcdc83f571f90afe02134476fd79178b45fb7dbb2dac99566adea3
7
- data.tar.gz: 4677ab01b5f5f37496da9845ae7081abf5166bd6f98a3132e53fad1f1579481c9449af39b121aecd5594ddeddc05c13dc85ceee23eab6d5f8c1ad8fbad21f557
6
+ metadata.gz: 89525e9bcddb45a84fb4603b3916aa05ab6d470156223ae9308fda4efd8dc2dcbe5e2cc30046e97447ebd077f64a47918d933677ade10c23ce877e9b67f63192
7
+ data.tar.gz: 862499cfbe1580ef7552c996fd3026b3145c05405a9f60246f23e4c20e01644f7dd468ef7d39ff37f3c8a91042ac0644a62250aea9acf5ef8ff94b50c6d9fd25
data/README.md CHANGED
@@ -57,7 +57,7 @@ Class KafkaConsumer
57
57
  end
58
58
  ```
59
59
 
60
- - `dead_letter_queue`: Topic where the consumer should enqueue the failure message.
60
+ - `dead_letter_queue`: Topic where the consumer sh**ould enqueue the failure message.
61
61
  - `exception_blacklist`: List of exception classes for which the error handling logic does not apply
62
62
  - `exception_whitelist`: List of exception classes for which the error handling logic should apply
63
63
  - `after_failure`: Accepts a proc that is executed after failure handling is completed
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
 
34
34
  spec.add_dependency 'dry-configurable', '~> 0.7'
35
35
  spec.add_dependency 'dry-validation', '~> 0.11'
36
- spec.add_dependency 'pheromone', '~> 0.5'
36
+ spec.add_dependency 'waterdrop', '~> 1.0'
37
37
 
38
38
  spec.add_development_dependency 'bundler', '~> 1.15'
39
39
  spec.add_development_dependency 'rspec-rails', '~> 3.5'
@@ -1,5 +1,4 @@
1
1
  # frozen_string_literal: true
2
- require 'dry-configurable'
3
2
  module Kafka::Retryable
4
3
  # configurator for setting up all the configurable settings for pheromone
5
4
  class Config
@@ -1,8 +1,3 @@
1
- require 'kafka/retryable/schemas/failure_handler_options'
2
- require 'kafka/retryable/errors/invalid_handling_options'
3
- require 'kafka/retryable/policy_finder'
4
- require 'waterdrop'
5
-
6
1
  module Kafka
7
2
  module Retryable
8
3
  module HandleFailure
@@ -3,6 +3,6 @@
3
3
  module Kafka
4
4
  # Current Kafka::Retryable version
5
5
  module Retryable
6
- VERSION = '0.1.1'
6
+ VERSION = '0.1.2'
7
7
  end
8
8
  end
@@ -1,6 +1,3 @@
1
- require 'kafka/retryable/handle_failure'
2
- require 'kafka/retryable/config'
3
-
4
1
  module Kafka
5
2
  module Retryable
6
3
  class << self
@@ -20,3 +17,13 @@ module Kafka
20
17
  end
21
18
  end
22
19
  end
20
+
21
+
22
+ require 'dry-configurable'
23
+ require 'dry-validation'
24
+ require 'waterdrop'
25
+ require 'kafka/retryable/schemas/failure_handler_options'
26
+ require 'kafka/retryable/errors/invalid_handling_options'
27
+ require 'kafka/retryable/policy_finder'
28
+ require 'kafka/retryable/handle_failure'
29
+ require 'kafka/retryable/config'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kafka-retryable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ankita Gupta
@@ -39,19 +39,19 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.11'
41
41
  - !ruby/object:Gem::Dependency
42
- name: pheromone
42
+ name: waterdrop
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.5'
47
+ version: '1.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.5'
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement