logstash-output-kafka 7.3.0 → 7.3.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: 3c356fe5e313efb3ec2f6af874ce33ca8ec1b44a253130cd37fdda67656b68bf
4
- data.tar.gz: 53ac7e0af538a5c0f3cba82730f24c55f9cf46ef306ee166406e0f636ef9bb72
3
+ metadata.gz: '026990dde9a22d18b9151acead5d0cd51151d7ae19717bbc71c7bd87cdc23a08'
4
+ data.tar.gz: 6fb4a737f2bd52e5708e6e09ec8a85ca98ccad43f7c9af2dc3bcc6da64cccd6f
5
5
  SHA512:
6
- metadata.gz: 2ba806d58c99e6d1efc72b816c3dfa15a41f7e35603edca781b07ba93d62ace0fa65cd6e03454c2a821127db60d76e550640dd795bcfb274b2b4f42cd21018e9
7
- data.tar.gz: 9c06a62469dbd05a314da54b2c3f8a9c5b91958e27acc2b57c5348b94eb3c8aedd7b8e12f7a743e5f361b4ee4460b766c78427347b07b8f754744f6aabdfa341
6
+ metadata.gz: 67b68fc84d1113a4949a0a4403fcf55f6f35955169198bc3a340ae46de9160517e53fed13db80b5063f0d65362123569dc83c9861feeda16a5bd0ca1db7b0fd3
7
+ data.tar.gz: d149f6038d6f2a41b12dfe40d3978965b09a4ddfd2500d7d710fb985e65878d35d38b29ffaceb93df4e6a2bf4f370d5778e0dad8f3c853792de50379caae95dd
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 7.3.1
2
+ - Added support for kafka property `ssl.endpoint.identification.algorithm` [#213](https://github.com/logstash-plugins/logstash-output-kafka/pull/213)
3
+
1
4
  ## 7.3.0
2
5
  - Changed Kafka client to version 2.1.0
3
6
 
data/docs/index.asciidoc CHANGED
@@ -82,6 +82,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
82
82
  | <<plugins-{type}s-{plugin}-sasl_mechanism>> |<<string,string>>|No
83
83
  | <<plugins-{type}s-{plugin}-security_protocol>> |<<string,string>>, one of `["PLAINTEXT", "SSL", "SASL_PLAINTEXT", "SASL_SSL"]`|No
84
84
  | <<plugins-{type}s-{plugin}-send_buffer_bytes>> |<<number,number>>|No
85
+ | <<plugins-{type}s-{plugin}-ssl_endpoint_identification_algorithm>> |<<string,string>>|No
85
86
  | <<plugins-{type}s-{plugin}-ssl_key_password>> |<<password,password>>|No
86
87
  | <<plugins-{type}s-{plugin}-ssl_keystore_location>> |a valid filesystem path|No
87
88
  | <<plugins-{type}s-{plugin}-ssl_keystore_password>> |<<password,password>>|No
@@ -332,6 +333,14 @@ Security protocol to use, which can be either of PLAINTEXT,SSL,SASL_PLAINTEXT,SA
332
333
 
333
334
  The size of the TCP send buffer to use when sending data.
334
335
 
336
+ [id="plugins-{type}s-{plugin}-ssl_endpoint_identification_algorithm"]
337
+ ===== `ssl_endpoint_identification_algorithm`
338
+
339
+ * Value type is <<string,string>>
340
+ * Default value is `"https"`
341
+
342
+ The endpoint identification algorithm, defaults to `"https"`. Set to empty string `""` to disable
343
+
335
344
  [id="plugins-{type}s-{plugin}-ssl_key_password"]
336
345
  ===== `ssl_key_password`
337
346
 
@@ -140,6 +140,8 @@ class LogStash::Outputs::Kafka < LogStash::Outputs::Base
140
140
  config :ssl_keystore_password, :validate => :password
141
141
  # The password of the private key in the key store file.
142
142
  config :ssl_key_password, :validate => :password
143
+ # Algorithm to use when verifying host. Set to "" to disable
144
+ config :ssl_endpoint_identification_algorithm, :validate => :string, :default => 'https'
143
145
  # Security protocol to use, which can be either of PLAINTEXT,SSL,SASL_PLAINTEXT,SASL_SSL
144
146
  config :security_protocol, :validate => ["PLAINTEXT", "SSL", "SASL_PLAINTEXT", "SASL_SSL"], :default => "PLAINTEXT"
145
147
  # http://kafka.apache.org/documentation.html#security_sasl[SASL mechanism] used for client connections.
@@ -365,6 +367,7 @@ class LogStash::Outputs::Kafka < LogStash::Outputs::Base
365
367
  props.put("ssl.key.password", ssl_key_password.value) unless ssl_key_password.nil?
366
368
  props.put("ssl.keystore.location", ssl_keystore_location) unless ssl_keystore_location.nil?
367
369
  props.put("ssl.keystore.password", ssl_keystore_password.value) unless ssl_keystore_password.nil?
370
+ props.put("ssl.endpoint.identification.algorithm", ssl_endpoint_identification_algorithm) unless ssl_endpoint_identification_algorithm.nil?
368
371
  end
369
372
 
370
373
  def set_sasl_config(props)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-kafka'
4
- s.version = '7.3.0'
4
+ s.version = '7.3.1'
5
5
  s.licenses = ['Apache-2.0']
6
6
  s.summary = "Writes events to a Kafka topic"
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: 7.3.0
4
+ version: 7.3.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-12-10 00:00:00.000000000 Z
11
+ date: 2018-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement