Authentication with SASL_SSL/OAUTHBEARER
See original GitHub issueHey all.
We have secured kafka cluster which supports SASL_SSL authentication. And we would like to connect using node-rdkafka
lib.
Do you know if it is supported by node-rdkafka
? If yes, where can I find a small sample ?
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Configuring OAUTHBEARER | Confluent Documentation
You can declare it using either the sasl.login.callback.handler.class configuration option for a non-broker client, or using the prefixed listener.name.sasl_ssl ...
Read more >How to implement OAUTHBEARER SASL authentication ...
You will need to implement two classes that uses an interface called AuthenticateCallbackHandler. The first class implements the Login flow, ...
Read more >OAuthBearerLoginModule (kafka 2.0.0 API)
class configuration option for a non-broker client or via the listener.name.sasl_ssl.oauthbearer.sasl.login.callback.handler.class configuration option for ...
Read more >Kafka Security : SASL OAUTHBEARER setup with Keycloak
Kafka Supports OAuth2 authentication using unsecured JWT tokens. We have to configure our own OAuth2 server (Ex-Keycloack) for proper OAuth2 ...
Read more >kafka-security-playbook/server.properties at master - GitHub
listener.name.sasl_ssl.oauthbearer.sasl.server.callback.handler.class=io.confluent.examples.authentication.oauth.OauthBearerValidatorCallbackHandler.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am working on a pull request to fix this.
@klalafaryan node-rdkafka seems to not support OAUTHBEARER since it does not implement the callback necessary to refresh/get the token and passing a Node callback doesn’t work because we can’t call
RdKafka::oauthbearer_set_token()
directly from it. Check this Librdkafka header here, please.