我正在尝试将具有security.protocol
conf 属性的生产者连接到纯文本。在调用之前如何传递username
和传递password
给对象?Conf
RdKafka::Producer::create
set
似乎没有一个电话适合。我阅读了有关 sasl的文档以获取灵感,但没有帮助。
我正在尝试将具有security.protocol
conf 属性的生产者连接到纯文本。在调用之前如何传递username
和传递password
给对象?Conf
RdKafka::Producer::create
set
似乎没有一个电话适合。我阅读了有关 sasl的文档以获取灵感,但没有帮助。