We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lookupdHTTPAddresses
Hi, If I initialise Reader with lookupdHTTPAddresses variable set to garbage
const reader = new nsq.Reader('test', 'test2', { lookupdHTTPAddresses: 'garbage:9999', }); const handler = () => { console.log('!!!handler fired!!'); process.exit(); }; reader.on('error', handler); reader.on('message', handler); reader.on('discard', handler); reader.on('nsqd_connected', handler); reader.on('nsqd_closed', handler); reader.connect();
The error event is never dispatched.
If I initialise with nsqdTCPAddresses it works as expected. Is it a bug?
nsqdTCPAddresses
The text was updated successfully, but these errors were encountered:
I found the culprit: https://github.com/dudleycarr/nsqjs/blob/master/lib/lookupd.js#L39
I'll get a fix in for that over the weekend.
Sorry, something went wrong.
Please check this line as well https://github.com/dudleycarr/nsqjs/blob/master/lib/lookupd.js#L53 It seems to not pass the error down.
Bump - I've just hit this bug too.
No branches or pull requests
Hi,
If I initialise Reader with
lookupdHTTPAddresses
variable set to garbageThe error event is never dispatched.
If I initialise with
nsqdTCPAddresses
it works as expected.Is it a bug?
The text was updated successfully, but these errors were encountered: