-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Kafka with SASL_PLAINTEXT authentication #401
Comments
A few notes - no specific answer - but may be of some help:
|
Closing due to staleness, no response from OP |
Is there an example with sasl authentication anywhere? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using the following docker-compose configuration:
File kafka_server_jaas.conf:
On images/kafka I have a DockerFile:
FROM wurstmeister/kafka
Then I start the zookeeper container and kafka containers:
On kafka container I got this error, and I am not able to connect.
ERROR [Controller id=1001, targetBrokerId=1001] Connection to node 1001 failed authentication due to: Authentication failed due to invalid credentials with SASL mechanism SCRAM-SHA-512 (org.apache.kafka.clients.NetworkClient)
on the kafka container:
I have the env var KAFKA_OPTS defined
KAFKA_OPTS=-Djava.security.auth.login.config=/opt/kafka/config/kafka_server_jaas.conf
Any clue?
The text was updated successfully, but these errors were encountered: