confluent-kafka-python
confluent-kafka-python copied to clipboard
Feature Request: Kerberos support for Schema Registry
Description
Looking for kerberos authentication support for Schema Registry. For example, using the AvroProducer method the schema registry class doesn't support a schema registry instance with kerberos auth. Kafka has this feature through librdkafka.
How to reproduce
Using AvroProducer method with a Schema Registry URL. If schema registry has kerberos auth enabled the client can't connect and revceives a 401.
Checklist
Please provide the following information:
- [ ] confluent-kafka-python and librdkafka version (
confluent_kafka.version()andconfluent_kafka.libversion()): - [x] Apache Kafka broker version: 2.4.1
- [ ] Client configuration:
{...} - [x] Operating system: RHEL 7.7
- [ ] Provide client logs (with
'debug': '..'as necessary) - [ ] Provide broker log excerpts
- [ ] Critical issue
Hi @dusts66, thanks for asking. But we don't have immediate plans to support this.
Providing this support should be easy to add by providing a way to give custom auth object in the constructor, which would be set to schema_registry._rest_client.session.auth.