logstash-input-kafka 2.0.2 → 2.0.3

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: f8eaad1d8c909b0aa995e06807219b2730b0fd43
4
- data.tar.gz: 3a590165bda528a2d7274e0d3bc87625a136bf9f
3
+ metadata.gz: b3867a2da2e1bcef41af77b310020da1c2a8cc78
4
+ data.tar.gz: d43d020db142194bd90d112b61ae09a80a6e5f73
5
5
  SHA512:
6
- metadata.gz: 802aa2b219eed3117c3323aaa11f9a1f6caa1b71fe84c24f8b58b393b7f373c317f76f1ec451aedd22a14b138c44f786b6e974e149166a1be0a5977105a0cfdd
7
- data.tar.gz: 968047a8a1747b76490a5bbe061202437e08e681ad497e2a150065b08e205b6390670c0485deb30299583627ab09170b5ee8ca244bccf604ef55f96a5a6a0f2d
6
+ metadata.gz: 319106e8a1dca73d8d4fca0db83b1835061e65fa14f5d0e37e092b64356b17d32cec30d01b88c60a415496f34a950e7915aa17f97bac83ecdce0793540f8190e
7
+ data.tar.gz: 780f0dbed7c2662e6dbffe1320155efa75de10c5899f8eec5a33012750a6d28ecb136cf0677b8aa8afeb1d9918bfc27f97fc7e5ee441b1ba2db4e7235814404b
@@ -1,3 +1,6 @@
1
+ ## 2.0.3
2
+ - Fix infinite loop when no new messages are found in Kafka
3
+
1
4
  ## 2.0.0
2
5
  - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
3
6
  instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Logstash Plugin
2
2
 
3
+ [![Build
4
+ Status](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Inputs/job/logstash-plugin-input-kafka-unit/badge/icon)](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Inputs/job/logstash-plugin-input-kafka-unit/)
5
+
3
6
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
4
7
 
5
8
  It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
@@ -136,10 +136,8 @@ class LogStash::Inputs::Kafka < LogStash::Inputs::Base
136
136
  @consumer_group.run(@consumer_threads,@kafka_client_queue)
137
137
 
138
138
  while !stop?
139
- if !@kafka_client_queue.empty?
140
- event = @kafka_client_queue.pop
141
- queue_event(event, logstash_queue)
142
- end
139
+ event = @kafka_client_queue.pop
140
+ queue_event(event, logstash_queue)
143
141
  end
144
142
 
145
143
  until @kafka_client_queue.empty?
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-kafka'
4
- s.version = '2.0.2'
4
+ s.version = '2.0.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  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'
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/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: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elasticsearch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-14 00:00:00.000000000 Z
11
+ date: 2015-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  requirements: []
152
152
  rubyforge_project:
153
- rubygems_version: 2.4.8
153
+ rubygems_version: 2.4.5
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  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