[英]Kafka Error INVALID_ARG No Such configuration property sasl.mechanisms when using confluent-kafka-python
When trying to use the Message Hub Bluemix service with confluent-kafka-python, I am getting the ERROR Uncaught exception: , KafkaError{code=_INVALID_ARG,val=-186,str="No such configuration property: "sasl.mechanisms""}尝试将 Message Hub Bluemix 服务与 confluent-kafka-python 结合使用时,我收到 ERROR Uncaught exception: , KafkaError{code=_INVALID_ARG,val=-186,str="No such configuration property: "sasl.mechanisms"" }
This error indicates that librdkafka (the library confluent-kafka-python wraps) has not been compiled with SASL support.此错误表明 librdkafka(库 confluent-kafka-python 包装)尚未使用 SASL 支持进行编译。
Please ensure you have the required dependencies installed on your system and reinstall librdkafka请确保您的系统上安装了所需的依赖项并重新安装 librdkafka
For Linux:对于 Linux:
For macOS and more details, see our documentation about librdkafka: https://github.com/ibm-messaging/message-hub-samples/blob/master/docs/librdkafka.md有关 macOS 和更多详细信息,请参阅我们关于 librdkafka 的文档: https://github.com/ibm-messaging/message-hub-samples/blob/master/docs/librdkafka.md
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.