fluent-plugin-kafka 0.7.8 → 0.7.9

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: 4f61c2911a847e8ca4b5058f0ca139d22a407513
4
- data.tar.gz: 1aa5985ba8494b495a070893babd65455722c5ba
3
+ metadata.gz: ec635f2018cccc5a37647a4ad478ff1f3cd07754
4
+ data.tar.gz: 2d798630940b044b2576610e0da5de71b5856b08
5
5
  SHA512:
6
- metadata.gz: a1e7dd4f62741db40e1687c51b93966434487e13c3fa94d94fce385a149f60c9cfb9af35450d5b6763da0dece5f81f1bf9bb90fb6eb1f3e2e91f058a278c0897
7
- data.tar.gz: 9329a591d1f5ff19736a8bfe92f973dd2066749cffa75c4edf7326fc9c89f40b20b6af9f9cff523ee34e931bcfe87f3464800ee8355b2d87a30454e24f4b977c
6
+ metadata.gz: 8fa8b7f16274b51087abddf398ef166c3a3aab1ecc2369c8fed60bf1424fe2947ae5244435d98585516607e06a0c40fac5ef6c1c39c6fff99d76def2ec07b419
7
+ data.tar.gz: 612620ed1e78bcf4bee2e02d17d4be84914890638da0b1c869c00a5fa5847c5e8630d88e5f4c0ebf2d229c6605b7b4fbb0ac52e1781bde7a21b67584acc14b99
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Release 0.7.9 - 2018/09/11
2
+
3
+ * in_kafka_group: Add fetcher_max_queue_size parameter
4
+
1
5
  Release 0.7.8 - 2018/08/29
2
6
 
3
7
  * input: Fix regression of kafka initialization
data/README.md CHANGED
@@ -119,6 +119,7 @@ Consume events by kafka consumer group features..
119
119
  min_bytes (integer) :default => nil (Use default of ruby-kafka)
120
120
  offset_commit_interval (integer) :default => nil (Use default of ruby-kafka)
121
121
  offset_commit_threshold (integer) :default => nil (Use default of ruby-kafka)
122
+ fetcher_max_queue_size (integer) :default => nil (Use default of ruby-kafka)
122
123
  start_from_beginning (bool) :default => true
123
124
  </source>
124
125
 
@@ -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.7.8'
16
+ gem.version = '0.7.9'
17
17
  gem.required_ruby_version = ">= 2.1.0"
18
18
 
19
19
  gem.add_dependency "fluentd", [">= 0.10.58", "< 2"]
@@ -47,6 +47,8 @@ class Fluent::KafkaGroupInput < Fluent::Input
47
47
  :desc => "The interval between offset commits, in seconds"
48
48
  config_param :offset_commit_threshold, :integer, :default => nil,
49
49
  :desc => "The number of messages that can be processed before their offsets are committed"
50
+ config_param :fetcher_max_queue_size, :integer, :default => nil,
51
+ :desc => "The number of fetched messages per partition that are queued in fetcher queue"
50
52
  config_param :start_from_beginning, :bool, :default => true,
51
53
  :desc => "Whether to start from the beginning of the topic or just subscribe to new messages being produced"
52
54
 
@@ -107,6 +109,7 @@ class Fluent::KafkaGroupInput < Fluent::Input
107
109
  @consumer_opts[:session_timeout] = @session_timeout if @session_timeout
108
110
  @consumer_opts[:offset_commit_interval] = @offset_commit_interval if @offset_commit_interval
109
111
  @consumer_opts[:offset_commit_threshold] = @offset_commit_threshold if @offset_commit_threshold
112
+ @consumer_opts[:fetcher_max_queue_size] = @fetcher_max_queue_size if @fetcher_max_queue_size
110
113
 
111
114
  @fetch_opts = {}
112
115
  @fetch_opts[:max_wait_time] = @max_wait_time if @max_wait_time
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.7.8
4
+ version: 0.7.9
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: 2018-08-30 00:00:00.000000000 Z
12
+ date: 2018-09-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd