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

Multiple topic subscription and healthcheck #5

Closed
foxted opened this issue Jun 5, 2021 · 3 comments
Closed

Multiple topic subscription and healthcheck #5

foxted opened this issue Jun 5, 2021 · 3 comments

Comments

@foxted
Copy link

foxted commented Jun 5, 2021

Hi there,

Interested in using the package, I was wondering a couple thing, maybe you can help me out:

  • How would I subscribe to multiple topics (auto-discovery based on my controllers)
  • How would I ensure the subscriptions are healthy (maybe using @nestjs/terminus)

Thanks!

@p-fedyukovich
Copy link
Owner

Hi

How would I subscribe to multiple topics (auto-discovery based on my controllers)

A microservice server can only subscribe to a single subscription, which is passed in options. Could you explain this "auto-discovery based on my controllers"?

How would I ensure the subscriptions are healthy (maybe using @nestjs/terminus)

There is no way to do that yet

@foxted
Copy link
Author

foxted commented Jun 8, 2021

Fair enough. Thanks for the reply. I went with an alternative, using push subscriptions via HTTPS for the time being.

@foxted foxted closed this as completed Jun 8, 2021
@p-fedyukovich
Copy link
Owner

Fair enough. Thanks for the reply. I went with an alternative, using push subscriptions via HTTPS for the time being.

You are welcome. If efficiency and throughput of message processing is not critical then it's good solution.

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

2 participants