confluentinc / confluent-kafka-python

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

Add broker-loggers support to AdminAPI #1678

Open timchenko-a opened 10 months ago

timchenko-a commented 10 months ago

Description

KIP-412 added support for dynamic logs levels. It seems like right now it's not possible to change them using confluent-kafka-python lib since it's not supported in ResourceType

How to reproduce

No specific steps since it seems to be not implemented. Configuring using kafka-config CLI:

/opt/confluent/bin/kafka-configs --bootstrap-server localhost:9093 --command-config kafka.properties --alter --add-config "kafka.authorizer.logger=DEBUG" --entity-type broker-loggers --entity-name 1

Checklist

Please provide the following information:

thibault-p commented 10 months ago

A made a thing two weeks ago which should address your problem https://github.com/confluentinc/confluent-kafka-python/pull/1674