confluentinc / confluentinc/confluent-kafka-python
Add broker-loggers support to AdminAPI
- Dominant language
- Python
- Stars
- 509
- Forks
- 964
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 14
Description
Description
===========
[KIP-412](https://cwiki.apache.org/confluence/display/KAFKA/KIP-412%3A+Extend+Admin+API+to+support+dynamic+application+log+levels) 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](https://github.com/confluentinc/confluent-kafka-python/blob/master/src/confluent_kafka/admin/_resource.py#L19)
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:
- confluent_kafka.version(): ('2.3.0', 33751040)
- confluent_kafka.libversion(): ('2.3.0', 33751295)
- Apache Kafka broker version: 3.3
- Client configuration:
```
{
"bootstrap.servers": ...,
"security.protocol": "SASL_PLAINTEXT",
"sasl.mechanism": "SCRAM-SHA-256",
"sasl.username": ...,
"sasl.password": ...,
}
```
- Operating system: not sure if applicable
- Provide client logs (with `'debug': '..'` as necessary): not sure if applicable
- Provide broker log excerpts: not sure if applicable
- Critical issue: not sure if applicable
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.