logstash-input-kafka 6.3.3 → 6.3.4

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: 4ec9424b83d007f9ce62a15c33cd5bb8a921048f
4
- data.tar.gz: 403433a10c758ec560254bd1bedec25d0d743f2b
3
+ metadata.gz: 76720171728fa67ea7f524fbf533a23ac91cae85
4
+ data.tar.gz: 715a70f704452226da80e304f1ac56f4a5b92844
5
5
  SHA512:
6
- metadata.gz: 9e7fac9dbcbb1d6e644cdae7d6fffcaefbe987f0f3f4cc02589e828f42b9696035da82d76aaacce8f8c16f1fe6aafb08ca240e7676bdb498a2768001fb5d74b1
7
- data.tar.gz: b37a27ef98728ca80da5e7468cf713f7a1d332ae93d2dd9313ba558b896c63b29bb48156ede23108af30f81ff2d310703c5f23d1189fb8687ae18864699a503b
6
+ metadata.gz: b2ed0780870168cc55bf709925d39ce22fcefa4e1e509085ba1c230da1510e624f50f351fade71c0628fc7cf2e2b8363e327f87fccf39b3a9167c52048f89733
7
+ data.tar.gz: e9a9112d7a2d08a8b268041d690fad6d521a2267f8a1c52f06c729b03b188a0df0195bae7c38e2004e9681dcaad004b4c796b0608173d28df05edba3551a31b4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 6.3.4
2
+ - Fix an issue that led to random failures in decoding messages when using more than one input thread
3
+
1
4
  ## 6.3.3
2
5
  - Upgrade Kafka client to version 0.11.0.0
3
6
 
@@ -247,10 +247,11 @@ class LogStash::Inputs::Kafka < LogStash::Inputs::Base
247
247
  else
248
248
  consumer.subscribe(topics);
249
249
  end
250
+ codec_instance = @codec.clone
250
251
  while !stop?
251
- records = consumer.poll(poll_timeout_ms);
252
+ records = consumer.poll(poll_timeout_ms)
252
253
  for record in records do
253
- @codec.decode(record.value.to_s) do |event|
254
+ codec_instance.decode(record.value.to_s) do |event|
254
255
  decorate(event)
255
256
  if @decorate_events
256
257
  event.set("[kafka][topic]", record.topic)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-kafka'
3
- s.version = '6.3.3'
3
+ s.version = '6.3.4'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = 'This input will read events from a Kafka topic. It uses the high level consumer API provided by Kafka to read messages from the broker'
6
6
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.3
4
+ version: 6.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elasticsearch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-11 00:00:00.000000000 Z
11
+ date: 2017-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement