How to configure Kafka client to authenticate using `SASL_PLAINTEXT` and `SCRAM-SHA-256`?
baqeri opened this issue · 5 comments
baqeri commented
How to configure the Kafka client to authenticate using SASL_PLAINTEXT
and SCRAM-SHA-256
?
When I configure Kafka consumer by this, it says:
N5kafka14KafkaExceptionE: 2023-07-05 19:51:10.546194: Local: Invalid argument or configuration [-186] (.../include/kafka/KafkaClient.h:429)
Does it throw such an exception because modern-cpp-kafka
doesn't support it?
kenneth-jia commented
eaxeax commented
the problem is on librdkafka side. You need to compile lib with sasl support
Neustradamus commented
To follow this ticket