logstash-input-kafka 8.3.0 → 8.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: b58b33ed1e40dfe7faac9dea116d029d888ed40289c11b060a1c62ec5504953b
4
- data.tar.gz: 4271ea1aae66d465e301a679fa6e4807ab96f42519ceb1c6afdbf38952ecd4ff
3
+ metadata.gz: 3d14531ca81a459cd260b4eed126553cbee76ae32113da3ad32a80ea5093c2d1
4
+ data.tar.gz: ba7d4380af53d089a548422f438d8c9047b270e0900da0307ec9ec03924a4aeb
5
5
  SHA512:
6
- metadata.gz: 0cb53feb251ee68d67eee5cbe2cfcebc41106450b492bd79b123fb788b1377fd1d962dc744eaa8e7eac5bab621a5f7b296181f25ee9722d42275038c554b65c1
7
- data.tar.gz: 6f2317ddb35c5355135e9594cc5cc233b67b77f902c9624e675621e4655bff3625ffbb092dda1689c09efda4a8c792961c3a3e05066f70f21dde3116d5c5cebe
6
+ metadata.gz: de60dc61d88652b848d42509d56813eccc7a01b82411b882649e048f352a228d7f316671c07b3a97d1e6ed8da2a370983b6288148f8e587a29bf63dce97e15a8
7
+ data.tar.gz: 7017be1e88a50ba88114a05e9170e0c8752810d2a49e5ecaa55f76c4eada84396b54a1838f34210244796dc4ae3b459e758da1ea3ef0346be221484aea3b1b3a
@@ -1,3 +1,6 @@
1
+ ## 8.3.1
2
+ - Added support for kafka property ssl.endpoint.identification.algorithm #302(https://github.com/logstash-plugins/logstash-input-kafka/pull/302)
3
+
1
4
  ## 8.3.0
2
5
  - Changed Kafka client version to 2.1.0
3
6
 
@@ -108,6 +108,7 @@ https://kafka.apache.org/documentation for more details.
108
108
  | <<plugins-{type}s-{plugin}-security_protocol>> |<<string,string>>, one of `["PLAINTEXT", "SSL", "SASL_PLAINTEXT", "SASL_SSL"]`|No
109
109
  | <<plugins-{type}s-{plugin}-send_buffer_bytes>> |<<string,string>>|No
110
110
  | <<plugins-{type}s-{plugin}-session_timeout_ms>> |<<string,string>>|No
111
+ | <<plugins-{type}s-{plugin}-ssl_endpoint_identification_algorithm>> |<<string,string>>|No
111
112
  | <<plugins-{type}s-{plugin}-ssl_key_password>> |<<password,password>>|No
112
113
  | <<plugins-{type}s-{plugin}-ssl_keystore_location>> |a valid filesystem path|No
113
114
  | <<plugins-{type}s-{plugin}-ssl_keystore_password>> |<<password,password>>|No
@@ -462,6 +463,15 @@ The size of the TCP send buffer (SO_SNDBUF) to use when sending data
462
463
  The timeout after which, if the `poll_timeout_ms` is not invoked, the consumer is marked dead
463
464
  and a rebalance operation is triggered for the group identified by `group_id`
464
465
 
466
+ [id="plugins-{type}s-{plugin}-ssl_endpoint_identification_algorithm"]
467
+ ===== `ssl_endpoint_identification_algorithm`
468
+
469
+ * Value type is <<string,string>>
470
+ * Default value is `"https"`
471
+
472
+ The endpoint identification algorithm, defaults to `"https"`. Set to empty string `""` to disable endpoint verification
473
+
474
+
465
475
  [id="plugins-{type}s-{plugin}-ssl_key_password"]
466
476
  ===== `ssl_key_password`
467
477
 
@@ -175,6 +175,8 @@ class LogStash::Inputs::Kafka < LogStash::Inputs::Base
175
175
  config :ssl_keystore_password, :validate => :password
176
176
  # The password of the private key in the key store file.
177
177
  config :ssl_key_password, :validate => :password
178
+ # Algorithm to use when verifying host. Set to "" to disable
179
+ config :ssl_endpoint_identification_algorithm, :validate => :string, :default => 'https'
178
180
  # Security protocol to use, which can be either of PLAINTEXT,SSL,SASL_PLAINTEXT,SASL_SSL
179
181
  config :security_protocol, :validate => ["PLAINTEXT", "SSL", "SASL_PLAINTEXT", "SASL_SSL"], :default => "PLAINTEXT"
180
182
  # http://kafka.apache.org/documentation.html#security_sasl[SASL mechanism] used for client connections.
@@ -342,6 +344,7 @@ class LogStash::Inputs::Kafka < LogStash::Inputs::Base
342
344
  props.put("ssl.key.password", ssl_key_password.value) unless ssl_key_password.nil?
343
345
  props.put("ssl.keystore.location", ssl_keystore_location) unless ssl_keystore_location.nil?
344
346
  props.put("ssl.keystore.password", ssl_keystore_password.value) unless ssl_keystore_password.nil?
347
+ props.put("ssl.endpoint.identification.algorithm", ssl_endpoint_identification_algorithm) unless ssl_endpoint_identification_algorithm.nil?
345
348
  end
346
349
 
347
350
  def set_sasl_config(props)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-kafka'
3
- s.version = '8.3.0'
3
+ s.version = '8.3.1'
4
4
  s.licenses = ['Apache-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.3.0
4
+ version: 8.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