Node-rdkafka: Authentication with SASL_SSL/OAUTHBEARER

Created on 2 Jul 2020  路  5Comments  路  Source: Blizzard/node-rdkafka

Hey 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

enhancement

Most helpful comment

@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.

All 5 comments

@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.

I am working on a pull request to fix this.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

I am working on a pull request to fix this.

Hello @giulliano-bueno,

Is there any updates on this issue?

Thanks

I am working on a pull request to fix this.

Hello @giulliano-bueno,

Is there any updates on this issue?

Thanks

Hey Eli, I actually end up using a different library called KafkaJS since they merged this feature before I finished my work.

Was this page helpful?
0 / 5 - 0 ratings