Closed innubies closed 11 months ago
The issue may not be directly related to the Bitnami container image or Helm chart, but rather to how the application is being utilized or configured in your specific environment.
Having said that, if you think that's not the case and are interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.
Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.
If you have any questions about the application itself, customizing its content, or questions about technology and infrastructure usage, we highly recommend that you refer to the forums and user guides provided by the project responsible for the application or technology.
With that said, we'll keep this ticket open until the stale bot automatically closes it, in case someone from the community contributes valuable insights.
Hello! The problem was in command of topic's creation. The principal must be User, not USER. After I've fixed command, ACL worked fine. I think we can close the issue. Thanks.
Name and Version
bitnami/kafka:3.5
What architecture are you using?
None
What steps will reproduce the bug?
kafka-acls.sh --bootstrap-server kafka-1:9092 --command-config /tmp/test2.conf --add --allow-principal USER:client_user --operation all --topic test
kafka's log:
INFO Principal = User:client_user is Denied operation = DESCRIBE from host = localhost on resource = Topic:LITERAL:test for request = Metadata with resourceRefCount = 1 based on rule DefaultDeny (kafka.authorizer.logger)
What is the expected behavior?
Topic will be able for client_user.
What do you see instead?
I expect to see something like this:
Additional information
I've tried to add
KAFKA_CFG_ALLOW_EVERYONE_IF_NO_ACL_FOUND = true
but it's not recommended for production clusters. Also, I've tried to addKAFKA_CFG_SUPER_USERS: "User:ANONYMOUS"
but it doesn't work for me.