azure-event-hubs-for-kafka icon indicating copy to clipboard operation
azure-event-hubs-for-kafka copied to clipboard

OAuth example for Python

Open boybundit opened this issue 4 years ago • 5 comments

Description

There is only Java and Go example how to use with Azure AD. https://github.com/Azure/azure-event-hubs-for-kafka/tree/master/tutorials/oauth

It would be great if there is more example in other languages e.g. Python.

boybundit avatar Jun 18 '20 16:06 boybundit

@serkantkaraca

arerlend avatar Jul 23 '20 16:07 arerlend

OAUTHBEARER support for Python client is still not there yet. Feature request is tracked at https://github.com/confluentinc/confluent-kafka-python/issues/545

serkantkaraca avatar Jul 23 '20 16:07 serkantkaraca

Looks like upstream support in the Python client was added in 1.6.1

elatt avatar Sep 24 '21 02:09 elatt

I have added a Python example with OAuth which is included in PR #186

axelwest36 avatar Jan 14 '22 08:01 axelwest36

Updated OAuth2 sample has been merged PR #210

joshuaphelpsms avatar Oct 11 '22 00:10 joshuaphelpsms