fluent-plugin-kafka-enchanced 0.5.27 → 0.5.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-kafka.gemspec +1 -1
- data/lib/fluent/plugin/out_kafka.rb +1 -1
- data/lib/fluent/plugin/out_kafka_buffered.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 730b11a36a5f9d88aef01009cab3d95429ffb68b
|
4
|
+
data.tar.gz: e1a71a42d22147d87af619d8313de55b71c52ac2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 231c7c6f8c237960ffdb358711ddb872444c7ef1268fd00215dd33e90bb0506554e72077b084211953f446db707f180dda64081c53b5396620642b7a2f21b5e9
|
7
|
+
data.tar.gz: 59cb6d56e77ee023dba57ac9239004efe96899015d2e1549cc47d5bd8b68ebc9c6300c5c84bfdad566658b80e06466c3a53b1f9efaaaf620e433eb718206280c
|
data/fluent-plugin-kafka.gemspec
CHANGED
@@ -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-enchanced"
|
14
14
|
gem.require_paths = ["lib"]
|
15
|
-
gem.version = '0.5.
|
15
|
+
gem.version = '0.5.28'
|
16
16
|
gem.required_ruby_version = ">= 2.1.0"
|
17
17
|
|
18
18
|
gem.add_dependency "fluentd", [">= 0.10.58", "< 2"]
|
@@ -147,7 +147,7 @@ DESC
|
|
147
147
|
require 'avro_turf/messaging'
|
148
148
|
require "avro/builder"
|
149
149
|
Proc.new do |tag, time, record|
|
150
|
-
record = record.select{|key, value| !key.nil? && !key.empty?}.map{|k, v| [k.tr('[]-', '_').delete('$'), ((v.is_a?(String) || v.nil? || v.empty?) ? v.to_s.force_encoding("UTF-8") : v)]}.to_h
|
150
|
+
record = record.select{|key, value| !key.nil? && !key.empty?}.map{|k, v| [k.tr('[]-', '_').delete('$'), ((v.is_a?(String) || v.nil? || v.to_s.empty?) ? v.to_s.force_encoding("UTF-8") : v)]}.to_h
|
151
151
|
timestamp = Time.new
|
152
152
|
record['enchilada_time_with_format'] = timestamp.strftime("%Y-%m-%dT%H:%M:%S.%LZ")
|
153
153
|
|
@@ -200,7 +200,7 @@ DESC
|
|
200
200
|
require 'avro_turf/messaging'
|
201
201
|
require "avro/builder"
|
202
202
|
Proc.new do |tag, time, record|
|
203
|
-
record = record.select{|key, value| !key.nil? && !key.empty?}.map{|k, v| [k.tr('[]-', '_').delete('$'), ((v.is_a?(String) || v.nil? || v.empty?) ? v.to_s.force_encoding("UTF-8") : v)]}.to_h
|
203
|
+
record = record.select{|key, value| !key.nil? && !key.empty?}.map{|k, v| [k.tr('[]-', '_').delete('$'), ((v.is_a?(String) || v.nil? || v.to_s.empty?) ? v.to_s.force_encoding("UTF-8") : v)]}.to_h
|
204
204
|
timestamp = Time.new
|
205
205
|
record['enchilada_time_with_format'] = timestamp.strftime("%Y-%m-%dT%H:%M:%S.%LZ")
|
206
206
|
|