Skip to content
New issue

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

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

Already on GitHub? # to your account

describe_user_scram_credentials doesn't allow to describe all users #1620

Closed
4 of 7 tasks
kitor opened this issue Aug 1, 2023 · 1 comment
Closed
4 of 7 tasks

describe_user_scram_credentials doesn't allow to describe all users #1620

kitor opened this issue Aug 1, 2023 · 1 comment

Comments

@kitor
Copy link

kitor commented Aug 1, 2023

Description

I need an equivalent of running command
kafka-configs.sh --bootstrap-server ... --command-config ... --describe --entity-type=users

or in other words, to describe all SCRAM credentials configured in the cluster.

KIP-554 implemented DescribeUserScramCredentialsRequest where null/empty name can be used to describe all users.

How to reproduce

admin.describe_user_scram_credentials() requires 2nd argument to be list of unique, non-empty strings.
None and empty strings are strictly prohibited by implementation in confluent_kafka/admin/__init__.py

Checklist

Please provide the following information:

  • confluent-kafka-python and librdkafka version (confluent_kafka.version() and confluent_kafka.libversion()): ('2.2.0', 33685504), ('2.2.0', 33685759)
  • Apache Kafka broker version: 3.5.0
  • Client configuration: Empty except broker address and admin user credentials
  • Operating system: Linux
  • Provide client logs (with 'debug': '..' as necessary): n/a
  • Provide broker log excerpts: n/a
  • Critical issue
@kitor
Copy link
Author

kitor commented Aug 1, 2023

Oh, duplicate of #1616 , closing

@kitor kitor closed this as completed Aug 1, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant