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

Add support for setOauthbearerTokenRefreshCb in RdKafka implementation #1361

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scorgn
Copy link

@scorgn scorgn commented Oct 24, 2024

  • Add oauthbearer_token_refresh_cb config value for setting setOauthbearerTokenRefreshCb

Support for sasl/oauthbearer was fully implemented into the php-rdkafka library today with the latest release which allows us to authenticate MSK through IAM . This is done through the setOauthbearerTokenRefreshCb method on the \RdKafka\Conf object. Unfortunately the kafka transport does not allow us to directly pass an already configured Conf object. This MR adds support through a configuration value.

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

Successfully merging this pull request may close these issues.

1 participant