php-rdkafka icon indicating copy to clipboard operation
php-rdkafka copied to clipboard

Support for OAUTHBEARER mechanism

Open prasam60 opened this issue 4 years ago • 3 comments

  • 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 avatar Mar 12 '21 06:03 prasam60

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

prasam60 avatar Mar 15 '21 15:03 prasam60

@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

nick-zh avatar Mar 16 '21 08:03 nick-zh

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

pmmaran avatar Aug 27 '21 22:08 pmmaran