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

Support for OAUTHBEARER mechanism #447

Closed
prasam60 opened this issue Mar 12, 2021 · 4 comments
Closed

Support for OAUTHBEARER mechanism #447

prasam60 opened this issue Mar 12, 2021 · 4 comments
Labels

Comments

@prasam60
Copy link

  • PHP version: 7.4
  • librdkafka version:1.6.1
  • php-rdkafka version: 5.0.0
  • kafka version:

It seems like the Conf class is missing setter function for librdkafka configuration property oauthbearer_token_refresh_cb. This needs to be similar to how there are setter for other callback options. ex.
setRebalanceCb setStatsCb etc.

This is currently blocking me from using OAUTHBEARER SASL Mechanism. When I try to set this property directly, the below error is thrown
Property "oauthbearer_token_refresh_cb" must be set through dedicated .._set_..() function

@prasam60 prasam60 changed the title Support for OAUTHBEARER mechanish Support for OAUTHBEARER mechanism Mar 12, 2021
@prasam60
Copy link
Author

prasam60 commented Mar 15, 2021

Hi Nick,
Sorry couldn't provide a PR since I haven't worked in C for more than a decade.
Do you have a rough estimate of the effort involved here? as well as when can this be expected to be released?

Thanks,
Pratik

@nick-zh
Copy link
Collaborator

nick-zh commented Mar 16, 2021

@prasam60 effort should be small, but atm i do not have a lot of time for open source work, if this is of high importance to you, you can reach out privately

@pmmaran
Copy link

pmmaran commented Aug 27, 2021

Guys,
Any update, would be great if you can build this feature 😉 at moment I am stuck without this

@arnaud-lb
Copy link
Owner

Implemented in #546 and #547

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants