question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sasl.username / password not supported

See original GitHub issue

Please consider this a feature request, I suppose.

Although cited in https://raw.githubusercontent.com/edenhill/librdkafka/2213fb29f98a7a73f22da21ef85e0783f6fd67c4/CONFIGURATION.md, they throw an error as per below.

/node-rdkafka/lib/client.js:59
  this._client = new SubClientType(globalConf, topicConf);
                 ^

Error: No such configuration property: "sasl.username"
    at Error (native)
    at Producer.Client (/Users/eshao/wsp/tty1/workers/node_modules/node-rdkafka/lib/client.js:59:18)
    at new Producer (/Users/eshao/wsp/tty1/workers/node_modules/node-rdkafka/lib/producer.js:71:10)
    at Object.<anonymous> (/Users/eshao/wsp/tty1/workers/k2.js:9:16)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.runMain (module.js:575:10)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11

github_iconTop GitHub Comments

2reactions
eshaocommented, Sep 13, 2016

Oh, it might be nice if you bumped the version for npm. Thanks!

1reaction
eshaocommented, Aug 29, 2016

Also, it might be nice to document the version of rdkafka in the README.md

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring PLAIN - Confluent Documentation
PLAIN, or SASL/PLAIN, is a simple username/password authentication ... While use of separate JAAS files is supported, it is not the recommended approach....
Read more >
kafkajs - Wrong password for SASL authentication did not ...
When I provide incorrect user name in options.username , I see the message Connected . How do I handle connection errors with kafkajs...
Read more >
Postfix: how to use simple file for SASL authentication?
You can verify what users have been entered by running sasldblistusers2 . Start saslauthd, and verify that the authentication works by doing testsaslauthd...
Read more >
Postfix SASL ERROR: Password not accepted from server
A. It appears that you are using Simple Authentication and Security Layer (SASL) framework for authentication and data security in Internet ...
Read more >
Troubleshooting Linux SASL Issues
The solution to the previous issues is to ensure that you enter the username and password correctly. The username is very case-sensitive whenever...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found