fluent-plugin-kafka 0.11.2 → 0.12.0

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: a32cfbf1850b74e02b8b698db2b3676f89239e647debf62ae7d71d0b3afc229c
4
- data.tar.gz: c076287c2ea443fd645193432e93ab6ed0c1263043dac7c171943ac4a268da73
3
+ metadata.gz: 76970655d31ac19d5088faf9e2d6afe0d4bd4f239f7fea5373a9e1b90e292e1f
4
+ data.tar.gz: 50c1999dc3f5196eaceb3c8a65ca041e83ce4e85e0d190229340a711bd9ea96d
5
5
  SHA512:
6
- metadata.gz: 5bb0d0d1628ad5c3193c1fd9c47af0531330dd6f6359b2cdd6d6e13821b2c023fee9d82b8758a022e6502bf09dc7c594583da2815d87d11dde1e7c0601517bf9
7
- data.tar.gz: 05e1f5c8e66ef96a938ee79eacbdd95ecccea3f7fdce76e4888fc38c9b06c5166b57b9df5e7fdc4aeb09bae4099f1fd7907251a6d99cc3a384cb0568939739f6
6
+ metadata.gz: 99464865d2cc92905645e656e38380b1dcfde57027666bde9d31eb8e0c109e086053ecdb2b1347118c6e2f0805f6acbcb3591fff044a7a92985ed7328af4869b
7
+ data.tar.gz: '01296913c6807deec4e33bd067517c8641ddf9e59ac8ea410ad1861ce6ab64b69aa8ac308c505b8ec44e94408b6d49d8bf63754c9ec4a55a589e291c12741550'
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Release 0.12.0 - 2019/09/27
2
+
3
+ * Support rdkafka-ruby v0.7. Drop v0.6 support.
4
+
1
5
  Release 0.11.2 - 2019/09/27
2
6
 
3
7
  * out_rdkafka2: Add share_producer parameter
data/README.md CHANGED
@@ -354,7 +354,10 @@ This plugin uses `rdkafka` instead of `ruby-kafka` for ruby client.
354
354
  You need to install rdkafka gem.
355
355
 
356
356
  # rdkafka is C extension library so need development tools like ruby-devel, gcc and etc
357
+ # for v0.12 or later
357
358
  $ gem install rdkafka --no-document
359
+ # for v0.11 or earlier
360
+ $ gem install rdkafka -v 0.6.0 --no-document
358
361
 
359
362
  `rdkafka2` is for fluentd v1.0 or later.
360
363
 
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
14
  gem.name = "fluent-plugin-kafka"
15
15
  gem.require_paths = ["lib"]
16
- gem.version = '0.11.2'
16
+ gem.version = '0.12.0'
17
17
  gem.required_ruby_version = ">= 2.1.0"
18
18
 
19
19
  gem.add_dependency "fluentd", [">= 0.10.58", "< 2"]
@@ -268,7 +268,7 @@ DESC
268
268
  handler = enqueue_with_retry(producer, topic, record_buf, message_key, partition)
269
269
  handler
270
270
  }.each { |handler|
271
- handler.wait(@rdkafka_delivery_handle_poll_timeout) if @rdkafka_delivery_handle_poll_timeout != 0
271
+ handler.wait(max_wait_timeout: @rdkafka_delivery_handle_poll_timeout) if @rdkafka_delivery_handle_poll_timeout != 0
272
272
  }
273
273
  end
274
274
  rescue Exception => e
@@ -301,7 +301,7 @@ DESC
301
301
  end
302
302
  }
303
303
  handlers.each { |handler|
304
- handler.wait(@rdkafka_delivery_handle_poll_timeout)
304
+ handler.wait(max_wait_timeout: @rdkafka_delivery_handle_poll_timeout)
305
305
  }
306
306
  end
307
307
  rescue Exception => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hidemasa Togashi