Skip to content

librdkafka with SASL support #3707

Discussion options

You must be logged in to vote
Traceback (most recent call last):
File "", line 8, in
cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Java JAAS configuration is not supported, see https://github.com/edenhill/librdkafka/wiki/Using-SASL-with-librdkafka for more information."}

You can't use JAAS (Java-specific) configuration in the Python client.
Try setting sasl.username and sasl.password in your conf dict instead.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@prashantochatterjee
Comment options

Answer selected by prashantochatterjee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants