Open rshap91 opened 19 hours ago
It does seem to work when I use a Sassl Plain mechanism. It appears the scram password is not being set for the user.
When I update the config entry for the user it works:
security.protocol=SASL_PLAINTEXT
sasl.mechanism=PLAIN
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required \
username="user1" \
password="ABC123";
/usr/local/kafka/bin/kafka-configs.sh --bootstrap-server 127.0.0.1:30001 --command-config /usr/local/kafka/config/client.properties --alter --entity-type users --entity-name user1 --add-config 'SCRAM-SHA-256=[password=ABC123]
security.protocol=SASL_PLAINTEXT
sasl.mechanism=SCRAM-SHA-256
sasl.jaas.config=org.apache.kafka.common.security.scram.ScramLoginModule required \
username="user1" \
password="rxyCBCiyr6"
Now authentication succeeds
Thank you for bringing this issue to our attention. We appreciate your involvement! If you're 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.
Name and Version
bitnami/kafka 31.0.0
What architecture are you using?
arm64
What steps will reproduce the bug?
$ docker version Client: Version: 27.0.3 API version: 1.46 Go version: go1.21.11 Git commit: 7d4bcd8 Built: Fri Jun 28 23:59:41 2024 OS/Arch: darwin/arm64 Context: desktop-linux
Server: Docker Desktop 4.32.0 (157355) Engine: Version: 27.0.3 API version: 1.46 (minimum version 1.24) Go version: go1.21.11 Git commit: 662f78c Built: Sat Jun 29 00:02:44 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.7.18 GitCommit: ae71819c4f5e67bb4d5ae76a6b735f29cc25774e runc: Version: 1.7.18 GitCommit: v1.1.13-0-g58aa920 docker-init: Version: 0.19.0 GitCommit: de40ad0
move the local.yaml file to ./values/local.yaml
Run
helm install -f values/local.yaml kafka .
The following message was printed to stdout
This returns an authentication error.
Are you using any custom parameters or values?
What is the expected behavior?
I expect it to successfully connect to the kafka cluster as a consumer
What do you see instead?
Additional information
No response