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

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -