logstash-output-kafka 5.1.3 → 5.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b96733c1a442744bdb3abd6a29dd0c9653ebb12
4
- data.tar.gz: c535c4574fe5e334dae2f51a7b947528212913bc
3
+ metadata.gz: 780001698bca9e781b7bdeb2b31e8c92c419de3f
4
+ data.tar.gz: 9a4972d1473a5c0c1a59daee33562625dbc97d1b
5
5
  SHA512:
6
- metadata.gz: af060521e050ef27df2126f586ed328877dc17082647c77f36f40b3ef5ba615a4acf9f8bee40dd1d6df5794832d10b177b7c399fc85e7c086d8f813acb87aa5a
7
- data.tar.gz: 15a33068abae1376ba72359910ec1926f96f6452d31be7814720eb498f311c20263061d3576a99aabd5a67b894ec35ba8d80915964a4898320c117533cea313b
6
+ metadata.gz: 38d81c0ed9c9f3abebcbf89f87a3ad518a78571e6ac93d06891ead6c8e907fa4bfb03284ae2f129236822a45d9f235a7e41c0d05b1002ca8c02ebfabcb3cab75
7
+ data.tar.gz: 70d54db4459e9763949ffd5582caae1fae974a0802c71f4cd516b5d86f969005e4d9c3ada4ca758bcb0fcfc829ad23f76c9aecdf4f43bf6407b3b0a0fdb32857
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 5.1.5
2
+ - Fix a bug where consumer was not correctly setup when `SASL_SSL` option was specified.
3
+
4
+ ## 5.1.4
5
+ - Docs: Move info about security features out of the compatibility matrix and into the main text.
6
+
1
7
  ## 5.1.3
2
8
  - Docs: Clarify compatibility matrix and remove it from the changelog to avoid duplication.
3
9
 
@@ -11,17 +11,24 @@ 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
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
19
  # |==========================================================
20
20
  #
21
21
  # NOTE: We recommended that you use matching Kafka client and broker versions. During upgrades, you should
22
22
  # upgrade brokers before clients because brokers target backwards compatibility. For example, the 0.9 broker
23
23
  # is compatible with both the 0.8 consumer and 0.9 consumer APIs, but not the other way around.
24
24
  #
25
+ # This output supports connecting to Kafka over:
26
+ #
27
+ # * SSL (requires plugin version 3.0.0 or later)
28
+ # * Kerberos SASL (requires plugin version 5.1.0 or later)
29
+ #
30
+ # By default security is disabled but can be turned on as needed.
31
+ #
25
32
  # The only required configuration is the topic_id. The default codec is plain,
26
33
  # so events will be persisted on the broker in json format. If you select a codec of plain,
27
34
  # Logstash will encode your messages with not only the message but also with a timestamp and
@@ -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 = '5.1.3'
4
+ s.version = '5.1.5'
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: 5.1.3
4
+ version: 5.1.5
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-26 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