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

Event Streams: support sarama client with IAM token #5822

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

JunliWang
Copy link
Contributor

@JunliWang JunliWang commented Nov 26, 2024

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

related with #5799
when platform supports trusted profile as authentication method, apikey config is not present, then Event Streams' kafka client(sarama) will use token for authentication.
This PR configures sarama to use sasl.mechanism=OAUTHBEARER when token is available and valid.

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

@JunliWang JunliWang marked this pull request as draft December 4, 2024 16:22
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