confluent-kafka-python
confluent-kafka-python copied to clipboard
Add new option oauth_cb to SchemaRegistryClient
This patch adds an option to supply an oauth callback to the SchemaRegistryClient so that it accepts oauth tokens in the same way that kafka brokers can receive tokens.
The function passes has the same return types as the same option for kafka so that users can reusing their existing token service for both kafka as well as the schema registry client.
If a user supplies this new option together with BASIC auth configuration, it results in a ValueError.
I noticed some of the other patches have a CLA notification. Is there a CLA that I need to sign?
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.