logstash-output-kafka 6.1.2 → 6.1.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: baa17f71ac23c32db304bcc43bb94c24737ef855
4
- data.tar.gz: 5f653f0f8be938cfb4b99a6d7dd1c178b1a285b9
3
+ metadata.gz: faa6a61d7044b8cdb77c1796a8d292053ef751b5
4
+ data.tar.gz: 024985f7172776c3539167b6461189cf3588f2cd
5
5
  SHA512:
6
- metadata.gz: baf54538cffd82b30cca308027351b3bcdd3192dad1aadd1dc7ad9da9a4ef033f71167f3f8f12c14a4821e07b90c2d347b06ae576ce0b392fbfa6ef7dcdb4cb8
7
- data.tar.gz: da05e290a748ec6ea7187cef8efb1386775493738e4cc824ff01d1b90f81f23c6103162eeeee429d8355cbaf776ef30bcd48ff5d8d4600c2c86e2bc5826d7152
6
+ metadata.gz: e9487ea8504541a43b9023b51b51cd7520d9a60090d71a03ec820f92d6ea73fde448bb8079472c53f3675959698649f4f957cfa52e2b198c1a5ebe9c706d1440
7
+ data.tar.gz: 0112bddaba36db92b31770b47b961c7ebad80974b62da7d3e658985ae93993ce37c6ada72f78e4160a231acae347b4f391f409d45cc207a7d237b194ceb7cf33
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 6.1.4
2
+ - Fix a bug where consumer was not correctly setup when `SASL_SSL` option was specified.
3
+
4
+ ## 6.1.3
5
+ - Docs: Update Kafka compatibility matrix
6
+
1
7
  ## 6.1.2
2
8
  - bump kafka dependency to 0.10.1.1
3
9
 
@@ -11,18 +11,25 @@ require 'logstash-output-kafka_jars.rb'
11
11
  #
12
12
  # [options="header"]
13
13
  # |==========================================================
14
- # |Kafka Client Version |Logstash Version |Plugin Version |Security Features |Why?
15
- # |0.8 |2.0.0 - 2.x.x |<3.0.0 | |Legacy, 0.8 is still popular
16
- # |0.9 |2.0.0 - 2.3.x | 3.x.x |SSL |Works with the old Ruby Event API (`event['product']['price'] = 10`)
17
- # |0.9 |2.4.x - 5.x.x | 4.x.x |SSL |Works with the new getter/setter APIs (`event.set('[product][price]', 10)`)
18
- # |0.10.0.x |2.4.x - 5.x.x | 5.x.x |SSL |Not compatible with the <= 0.9 broker
19
- # |0.10.1.x |2.4.x - 5.x.x | 6.x.x |SSL |Not compatible with <= 0.10.0.x broker
14
+ # |Kafka Client Version |Logstash Version |Plugin Version |Why?
15
+ # |0.8 |2.0.0 - 2.x.x |<3.0.0 |Legacy, 0.8 is still popular
16
+ # |0.9 |2.0.0 - 2.3.x | 3.x.x |Works with the old Ruby Event API (`event['product']['price'] = 10`)
17
+ # |0.9 |2.4.x - 5.x.x | 4.x.x |Works with the new getter/setter APIs (`event.set('[product][price]', 10)`)
18
+ # |0.10.0.x |2.4.x - 5.x.x | 5.x.x |Not compatible with the <= 0.9 broker
19
+ # |0.10.1.x |2.4.x - 5.x.x | 6.x.x |
20
20
  # |==========================================================
21
21
  #
22
22
  # NOTE: We recommended that you use matching Kafka client and broker versions. During upgrades, you should
23
23
  # upgrade brokers before clients because brokers target backwards compatibility. For example, the 0.9 broker
24
24
  # is compatible with both the 0.8 consumer and 0.9 consumer APIs, but not the other way around.
25
25
  #
26
+ # This output supports connecting to Kafka over:
27
+ #
28
+ # * SSL (requires plugin version 3.0.0 or later)
29
+ # * Kerberos SASL (requires plugin version 5.1.0 or later)
30
+ #
31
+ # By default security is disabled but can be turned on as needed.
32
+ #
26
33
  # The only required configuration is the topic_id. The default codec is plain,
27
34
  # so events will be persisted on the broker in plain format. Logstash will encode your messages with not
28
35
  # only the message but also with a timestamp and hostname. If you do not want anything but your message
@@ -227,8 +234,8 @@ class LogStash::Outputs::Kafka < LogStash::Outputs::Base
227
234
  elsif security_protocol == "SASL_PLAINTEXT"
228
235
  set_sasl_config(props)
229
236
  elsif security_protocol == "SASL_SSL"
230
- set_trustore_keystore_config
231
- set_sasl_config
237
+ set_trustore_keystore_config(props)
238
+ set_sasl_config(props)
232
239
  end
233
240
 
234
241
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-kafka'
4
- s.version = '6.1.2'
4
+ s.version = '6.1.4'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = 'Output events to a Kafka topic. This uses the Kafka Producer API to write messages to a topic on 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/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-output-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.2
4
+ version: 6.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elasticsearch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-27 00:00:00.000000000 Z
11
+ date: 2017-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement