Topic acls not working, Kafka Shows: Principal = User:ANONYMOUS is Denied Operation = Describe from host = 240.0.210.111 on resource = Topic:LITERAL:acl-topic for request = Metadata with resourceRefCount = 1 (kafka.authorizer.logger) [data-plane-kafka-request-handler-0] #6000
-
Scenario: Enable Simple authorization, and add KafkaUser and KafkaTopic with Topic acls defined in User. Start Producer with secret generated corresponding to user in mtls enabled setup. [NOTE: THE SAME SETUP WORKED WITH SIMPLE AUTHORIZATION WAS NOT ENABLED IN KAFKA-CLUSTER.YAML] The producer shows error : Kafka cluster shows error : Kafka cluster had shows message when new user was added : I have followed all steps mentioned here #2141 Kafkauser.yaml: [This user is tls user] apiVersion: kafka.strimzi.io/v1beta1 KafkaTopic.yaml Any help? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you look properly at the message, it says that |
Beta Was this translation helpful? Give feedback.
If you look properly at the message, it says that
User:ANONYMOUS
is denied. That suggests that you probably enabled authorization, but not authentication and without authentication, you always connect asUser:ANONYMOUS
, so it doesn't matter what rights did you give to some other user.