Configuring Scram-sha-512 and tls authentication for kafka cluster #9349
Replies: 3 comments 5 replies
-
I'm not entirely sure what the question is. You should never run your Kafka client from inside the broker pods. That can cause problems for example because the container might run out of memory, might degrade performance etc. When you create the |
Beta Was this translation helpful? Give feedback.
-
Well, that suggests you have something wrong with the authenication setup
of your client.
…On Tue, Nov 14, 2023, 21:10 Lokeshmaxi ***@***.***> wrote:
I have configured authorization from 9094 to 9092, and tried to create
topic, but getting this error from kafka pod=listenerType=ZK_BROKER Failed
authentication (Unexpected Kafka request of type METADATA during SASL
handshake.) (org.apache.kafka.common.network.Selector)
[data-plane-kafka-network-thread-0-ListenerName(PLAIN-9092)-SASL_PLAINTEXT-5]
—
Reply to this email directly, view it on GitHub
<#9349 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLFOR3QIZ2UWT4Y4LGUUT3YEPF4HAVCNFSM6AAAAAA7K4SX2KVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKNRZGQ4DE>
.
You are receiving this because you commented.Message ID:
<strimzi/strimzi-kafka-operator/repo-discussions/9349/comments/7569482@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Attached` Scram-sha-512 configuration to kafka, please let me know is this correct or not |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Suggestion / Problem
Configuring Scram-sha-512 and tls authentication for kafka cluster.
I have deployed strimzi kafka cluster in kubernetes cluster, we need to enable authentication for connecting bootstrap server from the client, so i have tried and configured SCRAM-SHA-512 authentication with authorization type "simple" and created one user with all privilege(for testing), now my question is, how to pass client properties which consist of SCRAM-SHA-512,Username and pw in the kafka cluster inside the pod, there is Vi editor inside the kafka container, and is creating client properties need to everytime when pod restarts?,is there way to pass it in within config properties of kafka, and one more help is there any detailed document to implement to authentication and authorization for all type for strimzi kafka, we are planning implement kafka for our production environment soon, have attached my configuration screenshot as reference, please help
Regards
Lokeshkumar
Documentation Link
No response
Beta Was this translation helpful? Give feedback.
All reactions