fluent-plugin-kafka 0.6.4 → 0.6.5

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
- SHA256:
3
- metadata.gz: efe26ba34b8d77d120aa8c7babfaa69360520698079dee0be5caefb388964e4a
4
- data.tar.gz: 0c42b0e54db31526150f1e0f71ee94a7c336112c649e0f39d77a4104f7202268
2
+ SHA1:
3
+ metadata.gz: 1600a5a510be7ebf5665f59f6ed7cae14aabd855
4
+ data.tar.gz: a8bf174ca989d2f9355d48bd516d5e8fd0c85548
5
5
  SHA512:
6
- metadata.gz: 95baf194bcc5a486cf1c924500468f49f31a6c9f55ce39f811f37b221017f75956002110c260ab1577f8d701b4f917364ce6042d9507a105254ca3c013395ca8
7
- data.tar.gz: 8de6a01fd63e12c6f34ab91522db088b6fd25fc6d1b2d924d3b1e69c4fb11f7e773ae07a0be6790a7bfcb7e5c6f060594ab4b1c84c5eb4f856a40b52a3c6cf02
6
+ metadata.gz: e22f33f3eddc0fa784e5b16d39349ad75a59ddde246d34c66e66577b01ea865509caf3c31b1c5c4c4ca9e179ee52845c3f3250294726b158be63fd138b87f03d
7
+ data.tar.gz: 9fe0745ec3f9197259c7222f00afdd650bab4b3a707b1428bb5649759fc4e97669ca7c2ee5df332a0f3fc938f3d68a133f27b635b4665d1706073da2058d3d1a
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Release 0.6.5 - 2017/12/14
2
+
3
+ * in_kafka_group: Add client_id parameter
4
+
1
5
  Release 0.6.4 - 2017/11/23
2
6
 
3
7
  * Multi worker support for v0.14
data/README.md CHANGED
@@ -92,6 +92,8 @@ Supports a start of processing from the assigned offset for specific topics.
92
92
 
93
93
  See also [ruby-kafka README](https://github.com/zendesk/ruby-kafka#consuming-messages-from-kafka) for more detailed documentation about ruby-kafka.
94
94
 
95
+ Consuming topic name is used for event tag. So when the target topic name is `app_event`, the tag is `app_event`. If you want to modify tag, use `add_prefix` or `add_suffix` parameters. With `add_prefix kafka`, the tag is `kafka.app_event`.
96
+
95
97
  ### Input plugin (@type 'kafka_group', supports kafka group)
96
98
 
97
99
  Consume events by kafka consumer group features..
@@ -121,6 +123,8 @@ Consume events by kafka consumer group features..
121
123
 
122
124
  See also [ruby-kafka README](https://github.com/zendesk/ruby-kafka#consuming-messages-from-kafka) for more detailed documentation about ruby-kafka options.
123
125
 
126
+ Consuming topic name is used for event tag. So when the target topic name is `app_event`, the tag is `app_event`. If you want to modify tag, use `add_prefix` or `add_suffix` parameter. With `add_prefix kafka`, the tag is `kafka.app_event`.
127
+
124
128
  ### Buffered output plugin
125
129
 
126
130
  This plugin uses ruby-kafka producer for writing data. This plugin works with recent kafka versions.
@@ -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.6.4'
16
+ gem.version = '0.6.5'
17
17
  gem.required_ruby_version = ">= 2.1.0"
18
18
 
19
19
  gem.add_dependency "fluentd", [">= 0.10.58", "< 2"]
@@ -11,6 +11,7 @@ class Fluent::KafkaGroupInput < Fluent::Input
11
11
  :desc => "Consumer group name, must set."
12
12
  config_param :topics, :string,
13
13
  :desc => "Listening topics(separate with comma',')."
14
+ config_param :client_id, :string, :default => 'kafka'
14
15
  config_param :format, :string, :default => 'json',
15
16
  :desc => "Supported format: (json|text|ltsv|msgpack)"
16
17
  config_param :message_key, :string, :default => 'message',
@@ -136,7 +137,7 @@ class Fluent::KafkaGroupInput < Fluent::Input
136
137
  def start
137
138
  super
138
139
 
139
- @kafka = Kafka.new(seed_brokers: @brokers,
140
+ @kafka = Kafka.new(seed_brokers: @brokers, client_id: @client_id,
140
141
  ssl_ca_cert: read_ssl_file(@ssl_ca_cert),
141
142
  ssl_client_cert: read_ssl_file(@ssl_client_cert),
142
143
  ssl_client_cert_key: read_ssl_file(@ssl_client_cert_key),
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.6.4
4
+ version: 0.6.5
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: 2017-11-23 00:00:00.000000000 Z
12
+ date: 2017-12-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  requirements: []
140
140
  rubyforge_project:
141
- rubygems_version: 2.7.2
141
+ rubygems_version: 2.6.13
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: Fluentd plugin for Apache Kafka > 0.8