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

Added Python OAuth example #109

Open axelwest36 opened this issue 3 years ago • 2 comments

The last attempt at creating an OAuth example using Python for sending messages to Event Hubs for Kafka, ended up in a stale branch. The example included in this PR includes an example which I have successfully implemented recently for one of my projects.

Please let me know if you have any feedback or proposed changes, I'm fairly new to contributing to open source projects.

Submission containing materials of a third party: Dario Radečić (https://betterdatascience.com/apache-kafka-in-python-how-to-stream-data-with-producers-and-consumers/)

axelwest36 avatar Jan 14 '22 08:01 axelwest36

CLA assistant check
All CLA requirements met.

ghost avatar Jan 14 '22 08:01 ghost

The other Python examples in this repo use the confluent-kafka package which has a different API from the pure Python library you are using. I think we should stick with confluent-kafka as it will most likely be the choice selected for production environments.

elatt avatar Jan 14 '22 14:01 elatt