fluent-plugin-kafka-enchanced 0.5.1 → 0.5.2
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
- 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: d216f84747ede8764dd43818ec51b71ae9be6452
|
4
|
+
data.tar.gz: 0d4af3a9a805588d7607a63b13525e72e71fd041
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 431e5f68e2b67ba216481476a5894da3e5125bdd14c7ccf725b56c24e6940057518c3dc108ced9f293b8a9daf1aa2537d0e38653abff77fedc95c20c791dc981
|
7
|
+
data.tar.gz: 2cf57dca7fb8f630bd1edc9cb90c9c2fd891800e5717d2f9500a595579dcd028910b2a81eae1be8efd0882b7d094263a80246415f0242db7fbcc02e0d329dc4e
|
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.2'
|
16
16
|
gem.required_ruby_version = ">= 2.1.0"
|
17
17
|
|
18
18
|
gem.add_dependency "fluentd", [">= 0.10.58", "< 2"]
|
@@ -176,7 +176,7 @@ DESC
|
|
176
176
|
end
|
177
177
|
end
|
178
178
|
record['tag'] = tag if @output_include_tag
|
179
|
-
topic = (@exclude_topic_key ? record.delete('topic') : record['topic']) || @default_topic || tag
|
179
|
+
topic = (@exclude_topic_key ? record.delete('topic') : record['topic']) || @default_topic || tag.to_s.gsub('.', '_')
|
180
180
|
partition_key = (@exclude_partition_key ? record.delete('partition_key') : record['partition_key']) || @default_partition_key
|
181
181
|
partition = (@exclude_partition ? record.delete('partition'.freeze) : record['partition'.freeze]) || @default_partition
|
182
182
|
message_key = (@exclude_message_key ? record.delete('message_key') : record['message_key']) || @default_message_key
|