morganstanley / modern-cpp-kafka

A C++ API for Kafka clients (i.e. KafkaProducer, KafkaConsumer, AdminClient)
Apache License 2.0
348 stars 88 forks source link

Example app for oauthbearer_token_refresh_cb #230

Open samkhopkar opened 6 months ago

samkhopkar commented 6 months ago

Can you please add an example app on usage of oauthbearer_token_refresh_cb in Kafka consumer and please point me to it. The Kaka consumer callback needs to do OAuth2 authentication and return token and expiry in the callback before consuming a topic

Thanks Sam