fluent-plugin-kafka 0.6.1 → 0.6.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
  SHA1:
3
- metadata.gz: c15b97c9566c5fcae1478eaeef953786e4f58412
4
- data.tar.gz: 0a12eca981a1a4e44227b33142dac987a8e36c96
3
+ metadata.gz: a038696697cc60a6c53b5204dd2146cc5961bd8b
4
+ data.tar.gz: cafd403c4c422ba5d8bfc0214cff9566838c498b
5
5
  SHA512:
6
- metadata.gz: c190e02a5a0aafd3784b0eab74e1adbc1a291347e99d5154446253f7116a22b4c1ba969bea27da76ed918a156417b3150eb1fc45b73c7cf2a3e777cc0ae0c4b2
7
- data.tar.gz: 13f146fffce6d05a6519c0e7dd8e04c8dde01d85345f9dcb3c3ab8de4792d6666d8deb704422fc8cea93c95786308ef773decfb31d2704e8b61542ffa0ef2454
6
+ metadata.gz: c469841e4e3f21c907bdbcd44c27eb3e2f6de18086cf622eb4c67b603395aced8b37aab6cb4afd108a0199e620ec26f3cdbaf7a9ea298fb43e8b86e69a06fb0e
7
+ data.tar.gz: ab2db78c09756aa938971495db83288b93647da1cb28de15050aee7dbbced2a87313c5ad261a3a3464fc7f6731af3a1396abc275828bed538ca82f50397175ba
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Release 0.6.2 - 2017/11/1
2
+
3
+ * Fix ltsv parsing issue which generates symbol keys
4
+
1
5
  Release 0.6.1 - 2017/08/30
2
6
 
3
7
  * Add stats and datadog monitoring support
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
12
12
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
13
  gem.name = "fluent-plugin-kafka"
14
14
  gem.require_paths = ["lib"]
15
- gem.version = '0.6.1'
15
+ gem.version = '0.6.2'
16
16
  gem.required_ruby_version = ">= 2.1.0"
17
17
 
18
18
  gem.add_dependency "fluentd", [">= 0.10.58", "< 2"]
@@ -122,7 +122,7 @@ class Fluent::KafkaInput < Fluent::Input
122
122
  when 'ltsv'
123
123
  require 'ltsv'
124
124
  Proc.new { |msg, te|
125
- r = LTSV.parse(msg.value).first
125
+ r = LTSV.parse(msg.value, {:symbolize_keys => false}).first
126
126
  add_offset_in_hash(r, te, msg.offset) if @add_offset_in_record
127
127
  r
128
128
  }
@@ -111,7 +111,7 @@ class Fluent::KafkaGroupInput < Fluent::Input
111
111
  Proc.new { |msg| Yajl::Parser.parse(msg.value) }
112
112
  when 'ltsv'
113
113
  require 'ltsv'
114
- Proc.new { |msg| LTSV.parse(msg.value).first }
114
+ Proc.new { |msg| LTSV.parse(msg.value, {:symbolize_keys => false}).first }
115
115
  when 'msgpack'
116
116
  require 'msgpack'
117
117
  Proc.new { |msg| MessagePack.unpack(msg.value) }
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.1
4
+ version: 0.6.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: 2017-08-31 00:00:00.000000000 Z
12
+ date: 2017-11-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project:
134
- rubygems_version: 2.6.11
134
+ rubygems_version: 2.6.13
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Fluentd plugin for Apache Kafka > 0.8