fluent-plugin-kafka-enchanced 0.5.28 → 0.5.29
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: 7cd31dbbc18d707257c8a1ab13ad3f56d589d8d7
|
4
|
+
data.tar.gz: 6c2d75ac6896a6313dfb571f5d12deca8f01801b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9b105f00d8396dc7775f6ef0fa821ba98734896a8a61b1e2474514652cb38510a4950447b8ad68a13df2d765e41ee71e516fa37ccbf1efcf07361e2c2912f4f
|
7
|
+
data.tar.gz: a87b268c1d635cc32cfed91599ebdbb0542ed0402290be549b99cb7c15a8a4e6144f29b6c0fbd11d54f6380cbe463dd35a15c080feb87f9333c68bdcc41287dc
|
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.29'
|
16
16
|
gem.required_ruby_version = ">= 2.1.0"
|
17
17
|
|
18
18
|
gem.add_dependency "fluentd", [">= 0.10.58", "< 2"]
|
@@ -162,7 +162,7 @@ DESC
|
|
162
162
|
}.to_json
|
163
163
|
schema = Avro::Schema.parse(schema_json)
|
164
164
|
avro = AvroTurf::Messaging.new(registry_url: @schema_registry)
|
165
|
-
avro.encode(record
|
165
|
+
avro.encode(record, schema: schema, subject: "#{schema_name}-value")
|
166
166
|
end
|
167
167
|
elsif @output_data_type == 'ltsv'
|
168
168
|
require 'ltsv'
|
@@ -216,7 +216,7 @@ DESC
|
|
216
216
|
schema = Avro::Schema.parse(schema_json)
|
217
217
|
|
218
218
|
avro = AvroTurf::Messaging.new(registry_url: @schema_registry)
|
219
|
-
avro.encode(record
|
219
|
+
avro.encode(record, schema: schema, subject: "#{schema_name}-value")
|
220
220
|
end
|
221
221
|
elsif @output_data_type =~ /^attr:(.*)$/
|
222
222
|
@custom_attributes = $1.split(',').map(&:strip).reject(&:empty?)
|