Why am I getting the Kafka Error Failed to initialize SASL authentication: SASL handshake failed when using Node.js client for Message Hub service ? -


i getting error failed initialize sasl authentication: sasl handshake failed (start (-4)): sasl(-4): no mechanism available: no worthy mechs found when trying use message hub bluemix service node-rdkafka

why happening?

this error indicates librdkafka (the library node-rdkafka wraps) has not been compiled sasl support.

please ensure have required dependencies installed on system , reinstall node-rdkafka via npm

for linux:

libsasl2-dev libsasl2-modules 

for macos , more details, see our documentation librdkafka: https://github.com/ibm-messaging/message-hub-samples/blob/master/docs/librdkafka.md


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -