fluent-plugin-kafka 0.16.1 → 0.16.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
  SHA256:
3
- metadata.gz: 5f03efe1dee8bff74ba9e0588956bc919244ac6ddf24ff40821d072602dab916
4
- data.tar.gz: b081913e347f5dd28d1339a1eca3f063661217fa4f1738787161cb825c3485fc
3
+ metadata.gz: 1f388f79dd4b9bf95418b71cd78a9e2f712fc01aa791dab8e0f5e22cd899c2b6
4
+ data.tar.gz: 00cee257a09cbfe3773d8e077b651668e9115d94f813b2fe575917789248a966
5
5
  SHA512:
6
- metadata.gz: 03e89037f5982ca8aa121c1c1672160e95fb488ee7e9ca6bd8038e8d9b0cc9d99348ab91a2e1896e174fed4fa2b4c25fb9e65ee72b9a4ba74062c631953ca345
7
- data.tar.gz: 5ca6f6093a1f46ab89b4b268416c16d9758102b76fcdb2bba8d2f235daa7b88e9914e48a0e4d0397df13ea9159a21ba1bbe525186670fd7b7622cfdd3d2cac2f
6
+ metadata.gz: 5e23cb803cef76ac8446007b1a60e091868c99c62b839d040093232ae90456306e1eb6bef9630f4c8230e9662ac3a0039eca1728640bccd906f4ed099f5fed4a
7
+ data.tar.gz: bc2c9f55199a5227d4ce6d5ea56c91fc31ca03afc0d45b23966d81f3d3a9f1eeea356b2af161d851b5e800fe4492ca6d7df7c9d07c81942e1602768d64a21156
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ Release 0.16.2 - 2021/05/17
2
+ * in_kafka, in_kafka_group: Support Ruby 3.0 keyword arguments interop
3
+
1
4
  Release 0.16.1 - 2021/04/14
2
5
  * out_kafka/out_kafka_buffered: Support Ruby 3.0.0 keyword arguments interop
3
6
  * kafka_plugin_util: Treat empty string in read_ssl_file as nil
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # fluent-plugin-kafka, a plugin for [Fluentd](http://fluentd.org)
2
2
 
3
- [![Build Status](https://travis-ci.org/fluent/fluent-plugin-kafka.svg?branch=master)](https://travis-ci.org/fluent/fluent-plugin-kafka)
3
+ [![GitHub Actions Status](https://github.com/fluent/fluent-plugin-kafka/actions/workflows/linux.yml/badge.svg)](https://github.com/fluent/fluent-plugin-kafka/actions/workflows/linux.yml)
4
+
4
5
 
5
6
  A fluentd plugin to both consume and produce data for Apache Kafka.
6
7
 
@@ -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.16.1'
16
+ gem.version = '0.16.2'
17
17
  gem.required_ruby_version = ">= 2.1.0"
18
18
 
19
19
  gem.add_dependency "fluentd", [">= 0.10.58", "< 2"]
@@ -294,7 +294,7 @@ class Fluent::KafkaInput < Fluent::Input
294
294
  def consume
295
295
  offset = @next_offset
296
296
  @fetch_args[:offset] = offset
297
- messages = @kafka.fetch_messages(@fetch_args)
297
+ messages = @kafka.fetch_messages(**@fetch_args)
298
298
 
299
299
  return if messages.size.zero?
300
300
 
@@ -217,7 +217,7 @@ class Fluent::KafkaGroupInput < Fluent::Input
217
217
  end
218
218
 
219
219
  def setup_consumer
220
- consumer = @kafka.consumer(@consumer_opts)
220
+ consumer = @kafka.consumer(**@consumer_opts)
221
221
  @topics.each { |topic|
222
222
  if m = /^\/(.+)\/$/.match(topic)
223
223
  topic_or_regex = Regexp.new(m[1])
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.16.1
4
+ version: 0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hidemasa Togashi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-04-14 00:00:00.000000000 Z
12
+ date: 2021-05-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd
@@ -117,7 +117,6 @@ extra_rdoc_files: []
117
117
  files:
118
118
  - ".github/workflows/linux.yml"
119
119
  - ".gitignore"
120
- - ".travis.yml"
121
120
  - ChangeLog
122
121
  - Gemfile
123
122
  - LICENSE
@@ -156,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
155
  - !ruby/object:Gem::Version
157
156
  version: '0'
158
157
  requirements: []
159
- rubygems_version: 3.1.2
158
+ rubygems_version: 3.2.5
160
159
  signing_key:
161
160
  specification_version: 4
162
161
  summary: Fluentd plugin for Apache Kafka > 0.8
data/.travis.yml DELETED
@@ -1,21 +0,0 @@
1
- language: ruby
2
-
3
- rvm:
4
- - 2.1
5
- - 2.2
6
- - 2.3.1
7
- - 2.4.1
8
- - 2.5.0
9
- - ruby-head
10
-
11
- before_install:
12
- - gem update --system=2.7.8
13
- script:
14
- - bundle exec rake test
15
-
16
- sudo: false
17
-
18
- matrix:
19
- allow_failures:
20
- - rvm: ruby-head
21
-