morganstanley/modern-cpp-kafka

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?

Hi, @baqeri
I don't think the problem still exists, -- it was fixed almost 2 years ago, #86

the problem is on librdkafka side. You need to compile lib with sasl support

To follow this ticket