Skip to content
New issue

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

consumer: any way to multiplex subscriptions to topics/channels over a single connection? #299

Closed
umialpha opened this issue Jul 23, 2020 · 2 comments
Labels

Comments

@umialpha
Copy link

From the code, it seems that every time we create a consumer for some topic and channel, it will create connections to nsqd. Is there any way to share the connections?

@jehiah
Copy link
Member

jehiah commented Jul 23, 2020

nsqd does not currently support subscribing to more than one topic/channel on a TCP connection; That is the constraint that limits re-using connections.

@umialpha
Copy link
Author

Thanks for your reply. The server seems to treat each connection as a client.

@ploxiln ploxiln closed this as completed Jul 24, 2020
@mreiferson mreiferson changed the title Any way to share connections within multiple topics and channels? consumerAny way to share connections within multiple topics and channels? Jul 25, 2020
@mreiferson mreiferson changed the title consumerAny way to share connections within multiple topics and channels? consumer: any way to multiplex subscriptions to topics/channels over a single connection? Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants