confluentinc / confluent-kafka-python

Confluent's Kafka Python Client
http://docs.confluent.io/current/clients/confluent-kafka-python
Other
77 stars 890 forks source link

Feature Request: Kerberos support for Schema Registry #1129

Open dusts66 opened 3 years ago

dusts66 commented 3 years ago

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:

jliunyu commented 2 years ago

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

RajShah-1 commented 11 months ago

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.