Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SASL/OAUTHBEARER authentication for Kafka 2.0 #1223

Closed
ggrcha opened this issue Nov 26, 2018 · 4 comments
Closed

SASL/OAUTHBEARER authentication for Kafka 2.0 #1223

ggrcha opened this issue Nov 26, 2018 · 4 comments

Comments

@ggrcha
Copy link

ggrcha commented Nov 26, 2018

Versions
Sarama Version: cebb584
Kafka Version: 2.0
Go Version: v1.11.1

Problem Description

As said by @mkmkaminski1988 on confluent-kafka-go#247, it would be important to have the OAUTHBEARER mechanism for authentication on Kafka brokers. Today, only Java clients can take advantage of this functionality, as edenhill/librdkafka still doesn't have SASL/OAUTHBEARER.

I'd like to discuss the design of the implementation before forking the project.

Thanks!

(cc @edenhill / @jairsjunior)

@mk6i
Copy link
Contributor

mk6i commented Nov 27, 2018

👍

@ggrcha
Copy link
Author

ggrcha commented Dec 21, 2018

Having some issues on this implementation:

  • I successfully authenticate via OAUTH and the kafka broker finishes de SASL process (DEBUG Set SASL server state to COMPLETE)

  • After that, I have an EOF exception and I can't figure it out what is missing.

While testing de SASL Plain authentication, did anyone got some similar issue?

Thanks.

@mk6i
Copy link
Contributor

mk6i commented Jan 25, 2019

@ggrcha Have you had a chance to try out the new SASL/OAUTHBEARER implementation? Thinking we might be able to close this issue.

@ggrcha
Copy link
Author

ggrcha commented Jan 28, 2019

@mkaminski1988 yes I did!!! Great job! It works like a charm :)

Closing the isue.

@ggrcha ggrcha closed this as completed Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants