You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <<plugins-{type}s-{plugin}-security_protocol>> |<<string,string>>, one of `["PLAINTEXT", "SSL", "SASL_PLAINTEXT", "SASL_SSL"]`|No
@@ -421,6 +422,24 @@ retries are exhausted.
421
422
The amount of time to wait before attempting to retry a failed fetch request
422
423
to a given topic partition. This avoids repeated fetching-and-failing in a tight loop.
423
424
425
+
[id="plugins-{type}s-{plugin}-sasl_jaas_config"]
426
+
===== `sasl_jaas_config`
427
+
428
+
* Value type is <<string,string>>
429
+
* There is no default value for this setting.
430
+
431
+
JAAS configuration setting local to this plugin instance, as opposed to settings using config file configured using `jaas_path`, which are shared across the JVM. This allows each plugin instance to have its own configuration.
432
+
433
+
If both `sasl_jaas_config` and `jaas_path` configurations are set, the setting here takes precedence.
Copy file name to clipboardExpand all lines: lib/logstash/inputs/kafka.rb
+3
Original file line number
Diff line number
Diff line change
@@ -201,6 +201,8 @@ class LogStash::Inputs::Kafka < LogStash::Inputs::Base
201
201
# `jaas_path` and `kerberos_config`. If this is not desirable, you would have to run separate instances of Logstash on
202
202
# different JVM instances.
203
203
config:jaas_path,:validate=>:path
204
+
# JAAS configuration settings. This allows JAAS config to be a part of the plugin configuration and allows for different JAAS configuration per each plugin config.
205
+
config:sasl_jaas_config,:validate=>:string
204
206
# Optional path to kerberos config file. This is krb5.conf style as detailed in https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/krb5_conf.html
205
207
config:kerberos_config,:validate=>:path
206
208
# Option to add Kafka metadata like topic, message size to the event.
0 commit comments