External Kafka SASL Config #1115
Unanswered
ahmed-bahaa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello dears,
we trying to connect to external kafka which require SASL connection, this is my config in
configmap-sentry.yaml
DEFAULT_KAFKA_OPTIONS = { "bootstrap.servers": {{ (include "sentry.kafka.bootstrap_servers_string" .) | quote }}, "sasl.mechanism": "SCRAM-SHA-512", "sasl.username": env('KAFKA_SASL_PLAIN_USERNAME'), "sasl.password": env('KAFKA_SASL_PLAIN_PASSWORD'), "security.protocol": "SASL_PLAINTEXT", "message.max.bytes": 50000000, "socket.timeout.ms": 1000, }
but i am getting this error :
│ %4|1706092475.302|FAIL|rdkafka#producer-1| [thrd:{KAFKA_URL}:9094/bootstrap]: {KAFKA_URL}:9094/bootstrap: Disconnected: verify that security.protocol is correctly configured, broker might require SASL authentication (after 121ms in state UP, 8 identical error(s) suppressed)
any idea what could be the problem?
Beta Was this translation helpful? Give feedback.
All reactions