logstash-input-kafka 8.1.0 → 8.1.1

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
  SHA256:
3
- metadata.gz: 41c9c935b07986088ac8bc74eb77c3b88f4da3ecbe101ccb521df6bafbce84a3
4
- data.tar.gz: 36dc41dae7fb79a1fce3a0d472bf08038fbb3fe9cd74038cc375e1fc893d3f33
3
+ metadata.gz: bc6e49f0963524019de1af8a625ab3be23b204b298cc2c7fff8a8a97c28554fc
4
+ data.tar.gz: 3f64d3a3aead66e51d3360b2d7ef2f1fc85e45b325a7745e6b5c7c61588cb8a4
5
5
  SHA512:
6
- metadata.gz: ebe51386d2c1ceaf2208ad7d8a136c327d69c12a1f94190d8d1555b69cfb795b67d2fa00e3b1d1800a1c81aba82912c2f90f8e33f16ef44ce633905a2284d321
7
- data.tar.gz: c09e3d04d27bb9df97d77dfe082c9f8e23ebbd027dc67d1f5ef146aab0d555665850f9e2b54b3d75e59e24afca97aca5614270989ece5284940357f5d22f4658
6
+ metadata.gz: 706d26963908a2a37df374c8c30f6a55e43c4e5d8839ecfb9d8baa5f628283d1acb8b961ee06687060d59e9a3eadca3d7f8b4c22689789dd9a293762dbf836ce
7
+ data.tar.gz: 5f5f4a99e115323b2175151117fa8934bb6c64fce6cc528bc84a57a3d9837fa0724f645d882f931a1cbd02cc8d63764bfb55c2d95b20c7d65012340fe0855d3d
@@ -1,3 +1,6 @@
1
+ ## 8.1.1
2
+ - Fix race-condition where shutting down a Kafka Input before it has finished starting could cause Logstash to crash
3
+
1
4
  ## 8.1.0
2
5
  - Internal: Update build to gradle
3
6
  - Upgrade Kafka client to version 1.1.0
@@ -323,7 +323,7 @@ Java Class used to deserialize the record's key
323
323
  * There is no default value for this setting.
324
324
 
325
325
  The maximum amount of data per-partition the server will return. The maximum total memory used for a
326
- request will be <code>#partitions * max.partition.fetch.bytes</code>. This size must be at least
326
+ request will be `#partitions * max.partition.fetch.bytes`. This size must be at least
327
327
  as large as the maximum message size the server allows or else it is possible for the producer to
328
328
  send messages larger than the consumer can fetch. If that happens, the consumer can get stuck trying
329
329
  to fetch a large message on a certain partition.
@@ -228,7 +228,8 @@ class LogStash::Inputs::Kafka < LogStash::Inputs::Base
228
228
 
229
229
  public
230
230
  def stop
231
- @runner_consumers.each { |c| c.wakeup }
231
+ # if we have consumers, wake them up to unblock our runner threads
232
+ @runner_consumers && @runner_consumers.each(&:wakeup)
232
233
  end
233
234
 
234
235
  public
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-kafka'
3
- s.version = '8.1.0'
3
+ s.version = '8.1.1'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Reads events from a Kafka topic"
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: 8.1.0
4
+ version: 8.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elasticsearch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-21 00:00:00.000000000 Z
11
+ date: 2018-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement