File tree 5 files changed +21
-0
lines changed
5 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ See the https://kafka.apache.org/{kafka_client_doc}/documentation for more detai
133
133
| <<plugins-{type}s-{plugin}-sasl_client_callback_handler_class>> |<<string,string>>|No
134
134
| <<plugins-{type}s-{plugin}-sasl_oauthbearer_token_endpoint_url>> |<<string,string>>|No
135
135
| <<plugins-{type}s-{plugin}-sasl_oauthbearer_scope_claim_name>> |<<string,string>>|No
136
+ | <<plugins-{type}s-{plugin}-sasl_login_callback_handler_class>> |<<string,string>>|No
136
137
| <<plugins-{type}s-{plugin}-sasl_login_connect_timeout_ms>> |<<number,number>>|No
137
138
| <<plugins-{type}s-{plugin}-sasl_login_read_timeout_ms>> |<<number,number>>|No
138
139
| <<plugins-{type}s-{plugin}-sasl_login_retry_backoff_ms>> |<<number,number>>|No
@@ -583,6 +584,13 @@ The URL for the OAuth 2.0 issuer token endpoint.
583
584
584
585
(optional) The override name of the scope claim.
585
586
587
+ [id="plugins-{type}s-{plugin}-sasl_login_callback_handler_class"]
588
+ ===== `sasl_login_callback_handler_class`
589
+ * Value type is <<string,string>>
590
+ * There is no default value for this setting.
591
+
592
+ The SASL login callback handler class the specified SASL mechanism should use.
593
+
586
594
[id="plugins-{type}s-{plugin}-sasl_login_connect_timeout_ms"]
587
595
===== `sasl_login_connect_timeout_ms`
588
596
* Value type is <<number,number>>
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ See the https://kafka.apache.org/{kafka_client_doc}/documentation for more detai
104
104
| <<plugins-{type}s-{plugin}-sasl_client_callback_handler_class>> |<<string,string>>|No
105
105
| <<plugins-{type}s-{plugin}-sasl_oauthbearer_token_endpoint_url>> |<<string,string>>|No
106
106
| <<plugins-{type}s-{plugin}-sasl_oauthbearer_scope_claim_name>> |<<string,string>>|No
107
+ | <<plugins-{type}s-{plugin}-sasl_login_callback_handler_class>> |<<string,string>>|No
107
108
| <<plugins-{type}s-{plugin}-sasl_login_connect_timeout_ms>> |<<number,number>>|No
108
109
| <<plugins-{type}s-{plugin}-sasl_login_read_timeout_ms>> |<<number,number>>|No
109
110
| <<plugins-{type}s-{plugin}-sasl_login_retry_backoff_ms>> |<<number,number>>|No
@@ -419,6 +420,13 @@ The URL for the OAuth 2.0 issuer token endpoint.
419
420
420
421
(optional) The override name of the scope claim.
421
422
423
+ [id="plugins-{type}s-{plugin}-sasl_login_callback_handler_class"]
424
+ ===== `sasl_login_callback_handler_class`
425
+ * Value type is <<string,string>>
426
+ * There is no default value for this setting.
427
+
428
+ The SASL login callback handler class the specified SASL mechanism should use.
429
+
422
430
[id="plugins-{type}s-{plugin}-sasl_login_connect_timeout_ms"]
423
431
===== `sasl_login_connect_timeout_ms`
424
432
* Value type is <<number,number>>
Original file line number Diff line number Diff line change @@ -214,6 +214,8 @@ class LogStash::Inputs::Kafka < LogStash::Inputs::Base
214
214
config :sasl_oauthbearer_token_endpoint_url , :validate => :string
215
215
# (optional) The override name of the scope claim.
216
216
config :sasl_oauthbearer_scope_claim_name , :validate => :string , :default => 'scope'
217
+ # SASL login callback handler class
218
+ config :sasl_login_callback_handler_class , :validate => :string
217
219
# (optional) The duration, in milliseconds, for HTTPS connect timeout
218
220
config :sasl_login_connect_timeout_ms , :validate => :number , :default => 10000
219
221
# (optional) The duration, in milliseconds, for HTTPS read timeout.
Original file line number Diff line number Diff line change @@ -153,6 +153,8 @@ class LogStash::Outputs::Kafka < LogStash::Outputs::Base
153
153
config :sasl_oauthbearer_token_endpoint_url , :validate => :string
154
154
# (optional) The override name of the scope claim.
155
155
config :sasl_oauthbearer_scope_claim_name , :validate => :string , :default => 'scope'
156
+ # SASL login callback handler class
157
+ config :sasl_login_callback_handler_class , :validate => :string
156
158
# (optional) The duration, in milliseconds, for HTTPS connect timeout
157
159
config :sasl_login_connect_timeout_ms , :validate => :number , :default => 10000
158
160
# (optional) The duration, in milliseconds, for HTTPS read timeout.
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ def set_sasl_config(props)
44
44
props . put ( "sasl.client.callback.handler.class" , sasl_client_callback_handler_class ) unless sasl_client_callback_handler_class . nil?
45
45
props . put ( "sasl.oauthbearer.token.endpoint.url" , sasl_oauthbearer_token_endpoint_url ) unless sasl_oauthbearer_token_endpoint_url . nil?
46
46
props . put ( "sasl.oauthbearer.scope.claim.name" , sasl_oauthbearer_scope_claim_name ) unless sasl_oauthbearer_scope_claim_name . nil?
47
+ props . put ( "sasl.login.callback.handler.class" , sasl_login_callback_handler_class ) unless sasl_login_callback_handler_class . nil?
47
48
props . put ( "sasl.login.connect.timeout.ms" , sasl_login_connect_timeout_ms . to_s ) unless sasl_login_connect_timeout_ms . nil?
48
49
props . put ( "sasl.login.read.timeout.ms" , sasl_login_read_timeout_ms . to_s ) unless sasl_login_read_timeout_ms . nil?
49
50
props . put ( "sasl.login.retry.backoff.ms" , sasl_login_retry_backoff_ms . to_s ) unless sasl_login_retry_backoff_ms . nil?
You can’t perform that action at this time.
0 commit comments