dudleycarr / nsqjs

NodeJS client library for NSQ
https://nsqjs.com
MIT License
558 stars 75 forks source link

How can I associate a channel when publishing to NSQ? I'm not sure how to use channels correctly. Are there any articles or documentation that explain this? #430

Closed gubeils closed 1 month ago

dudleycarr commented 1 month ago

Take a look at the official NSQ documentation: https://nsq.io/overview/design.html

When you publish a message to a topic, it fans out the message to all the topic's channels. There are a couple of ways to create a channel, but the most common is to create a Reader with the topic/channel pair.