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

reuse nats streaming connection #57

Closed
MartinForReal opened this issue Mar 6, 2019 · 1 comment
Closed

reuse nats streaming connection #57

MartinForReal opened this issue Mar 6, 2019 · 1 comment

Comments

@MartinForReal
Copy link
Contributor

I think it would be a good idea to reuse nats connection if I need to run publisher and subscriber in one program.

The scenario would be as follows

I need to subscribe a queue to get command from other agent, and send reply by issuing events in another queue. So I need to setup a publisher and subscriber in one program. But I need to provide two different client-id.

@MartinForReal
Copy link
Contributor Author

close issue because pr is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant