ruby-kafka 0.7.1.possible.pre.fetch.pre.fix → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -2
- data/lib/kafka/datadog.rb +10 -2
- data/lib/kafka/fetcher.rb +1 -1
- data/lib/kafka/version.rb +1 -1
- data/ruby-kafka.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07f5c2801a1dda787213437b1b27aba5bd23b25e53c64687b5910ee0e1ccc221
|
4
|
+
data.tar.gz: 4f277fc15146a78d2374da0dff2e8201bf521012a07b160fc8f0630164656509
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58eb8f78f5d2cea9793416ab9e01d74f8c7737e7d7a5174a13a58278fa6b5849a2ee3b88155c97f37915664d0c9f393738ae7b8e06c2b78d48543188514a9cf8
|
7
|
+
data.tar.gz: 714ce12cca6bc8dd34c20835cdbc89257cb0f5a1cb020d1312e66adfc3d0ec91e1cec3207af0d708cdc936afb803d13576b2fe565d73495e45fd7cc89fc90f1f
|
data/CHANGELOG.md
CHANGED
@@ -4,10 +4,11 @@ Changes and additions to the library will be listed here.
|
|
4
4
|
|
5
5
|
## Unreleased
|
6
6
|
|
7
|
-
- Fix consuming duplication due to redundant messages returned from Kafka (#636).
|
8
|
-
|
9
7
|
## 0.7.1
|
10
8
|
|
9
|
+
- Compatibility with dogstatsd-ruby v4.0.0.
|
10
|
+
- Fix consuming duplication due to redundant messages returned from Kafka (#636).
|
11
|
+
- Fresh cluster info on fetch error (#641).
|
11
12
|
- Exactly Once Delivery and Transactional Messaging Support (#608).
|
12
13
|
- Support extra client certificates in the SSL Context when authenticating with Kafka (#633).
|
13
14
|
|
data/lib/kafka/datadog.rb
CHANGED
@@ -40,7 +40,7 @@ module Kafka
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def host
|
43
|
-
@host ||=
|
43
|
+
@host ||= default_host
|
44
44
|
end
|
45
45
|
|
46
46
|
def host=(host)
|
@@ -49,7 +49,7 @@ module Kafka
|
|
49
49
|
end
|
50
50
|
|
51
51
|
def port
|
52
|
-
@port ||=
|
52
|
+
@port ||= default_port
|
53
53
|
end
|
54
54
|
|
55
55
|
def port=(port)
|
@@ -77,6 +77,14 @@ module Kafka
|
|
77
77
|
|
78
78
|
private
|
79
79
|
|
80
|
+
def default_host
|
81
|
+
::Datadog::Statsd.const_defined?(:Connection) ? ::Datadog::Statsd::Connection::DEFAULT_HOST : ::Datadog::Statsd::DEFAULT_HOST
|
82
|
+
end
|
83
|
+
|
84
|
+
def default_port
|
85
|
+
::Datadog::Statsd.const_defined?(:Connection) ? ::Datadog::Statsd::Connection::DEFAULT_PORT : ::Datadog::Statsd::DEFAULT_PORT
|
86
|
+
end
|
87
|
+
|
80
88
|
def clear
|
81
89
|
@statsd && @statsd.close
|
82
90
|
@statsd = nil
|
data/lib/kafka/fetcher.rb
CHANGED
data/lib/kafka/version.rb
CHANGED
data/ruby-kafka.gemspec
CHANGED
@@ -41,7 +41,7 @@ Gem::Specification.new do |spec|
|
|
41
41
|
spec.add_development_dependency "extlz4"
|
42
42
|
spec.add_development_dependency "colored"
|
43
43
|
spec.add_development_dependency "rspec_junit_formatter", "0.2.2"
|
44
|
-
spec.add_development_dependency "dogstatsd-ruby", ">= 3.0.0", "<
|
44
|
+
spec.add_development_dependency "dogstatsd-ruby", ">= 3.0.0", "< 5.0.0"
|
45
45
|
spec.add_development_dependency "statsd-ruby"
|
46
46
|
spec.add_development_dependency "ruby-prof"
|
47
47
|
spec.add_development_dependency "timecop"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-kafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.1
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Schierbeck
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: digest-crc
|
@@ -201,7 +201,7 @@ dependencies:
|
|
201
201
|
version: 3.0.0
|
202
202
|
- - "<"
|
203
203
|
- !ruby/object:Gem::Version
|
204
|
-
version:
|
204
|
+
version: 5.0.0
|
205
205
|
type: :development
|
206
206
|
prerelease: false
|
207
207
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -211,7 +211,7 @@ dependencies:
|
|
211
211
|
version: 3.0.0
|
212
212
|
- - "<"
|
213
213
|
- !ruby/object:Gem::Version
|
214
|
-
version:
|
214
|
+
version: 5.0.0
|
215
215
|
- !ruby/object:Gem::Dependency
|
216
216
|
name: statsd-ruby
|
217
217
|
requirement: !ruby/object:Gem::Requirement
|
@@ -446,9 +446,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
446
446
|
version: 2.1.0
|
447
447
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
448
448
|
requirements:
|
449
|
-
- - "
|
449
|
+
- - ">="
|
450
450
|
- !ruby/object:Gem::Version
|
451
|
-
version:
|
451
|
+
version: '0'
|
452
452
|
requirements: []
|
453
453
|
rubyforge_project:
|
454
454
|
rubygems_version: 2.7.6
|