Skip to content

OAUTHBEARER sasl.mechanism not supported in AdminClient #757

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

Open
sverch opened this issue Feb 7, 2025 · 0 comments
Open

OAUTHBEARER sasl.mechanism not supported in AdminClient #757

sverch opened this issue Feb 7, 2025 · 0 comments

Comments

@sverch
Copy link

sverch commented Feb 7, 2025

Desired Outcome

I can use the AdminClient with the OAUTHBEARER sasl.mechanism.

Current State

Only the producer and consumer clients work with the OAUTHBEARER sasl.mechanism.

Background

I'm using the AdminClient struct and trying to get it working with the OAUTHBEARER sasl.mechanism. This project has producer and consumer examples, but it doesn't seem to work with the AdminClient.

I found that Client::poll_event handles the relevant event, but the AdminClient does not call that function. I tried to make the AdminClient call Client::poll_event, but I don't seem to get any events back, even after registering them with rd_kafka_conf_set_events. There's some difference between AdminClient and the producer client that I'm missing.

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

1 participant