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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 056609426bfbcfd6ea642db660c8360beaee7f72
4
- data.tar.gz: acd3535de138c68109edcaf7ad318ad76cc8dc5d
3
+ metadata.gz: d216f84747ede8764dd43818ec51b71ae9be6452
4
+ data.tar.gz: 0d4af3a9a805588d7607a63b13525e72e71fd041
5
5
  SHA512:
6
- metadata.gz: 1d25c86afc8ea2513504bd6d2b086751f3bdcc88c3f8f35673188bd3ee5edf7b23fc2d688392e79df3be2d5995b02bc168bc68a5b94564c8f0ebce7ce7e9a19e
7
- data.tar.gz: b5c07478cd3595b420330490efa62b1d0878020962a742c9bf72f373186cb4229715ae723335e52fef2256087f17b22550faf849e0454fd66ffb1d1aedf8ee96
6
+ metadata.gz: 431e5f68e2b67ba216481476a5894da3e5125bdd14c7ccf725b56c24e6940057518c3dc108ced9f293b8a9daf1aa2537d0e38653abff77fedc95c20c791dc981
7
+ data.tar.gz: 2cf57dca7fb8f630bd1edc9cb90c9c2fd891800e5717d2f9500a595579dcd028910b2a81eae1be8efd0882b7d094263a80246415f0242db7fbcc02e0d329dc4e
@@ -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.1'
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-kafka-enchanced
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paschenko Konstantin