Replies: 1 comment 2 replies
-
You did not configured authentication on the listener on port 9092. So if you use it, the users will be treated as ANONYMOUS. So you need to either use the listeners with authentication or enable the authentication ont he 9092 listener as well. Setting the ANONYMOUS user as super user will make it work as well, but obviously that is quite insecure. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I need to set up a cluster with the following requirements:
I configured the Kafka cluster with the following listeners:
and this is my user configuration:
I can produce from the external network using a load balancer on port 9094, but when I try to consume on the internal port 9092 I'm getting an error:
Broker: Group authorization failed
When I checked the pod logs I got the following:
INFO Principal = User:ANONYMOUS is Denied Operation
So i add
Doing this internal clients bypassed by making ANONYMOUS a superuser.
I'm not able to connect to Kafka using the external listener without creds.
Is this approach safe? I still have the feeling that I'm missing something.
Beta Was this translation helpful? Give feedback.
All reactions