confluent-kafka-python icon indicating copy to clipboard operation
confluent-kafka-python copied to clipboard

Feature Request: Kerberos support for Schema Registry

Open dusts66 opened this issue 4 years ago • 2 comments

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() and confluent_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

dusts66 avatar May 25 '21 21:05 dusts66

Hi @dusts66, thanks for asking. But we don't have immediate plans to support this.

jliunyu avatar Mar 24 '22 18:03 jliunyu

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.

RajShah-1 avatar Sep 26 '23 02:09 RajShah-1