Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add broker-loggers support to AdminAPI #1678

Open
timchenko-a opened this issue Nov 23, 2023 · 1 comment
Open

Add broker-loggers support to AdminAPI #1678

timchenko-a opened this issue Nov 23, 2023 · 1 comment

Comments

@timchenko-a
Copy link

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:

  • 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
@thibault-p
Copy link

thibault-p commented Nov 30, 2023

A made a thing two weeks ago which should address your problem #1674

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants