-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Cancel Consumer and Restart #415
Comments
When dependencies of a Microservice are offline it is beneficial to stop the consumer and only restart when work is ready to be continued. This saves a lot of rabbit bandwidth not needing to deliver nack requeue over and over until the consumer is ready. fix golevelup#415
@underfisk This feature seems to meet one of our service needs - but I'm finding it hard to retrieve the |
@craigotis Would you be down to have a PR to fix this issue? |
@underfisk I'm happy to look into it - though it seems the subscription is created in the Before I go that route though, am I missing something? How was this cancel/restart implementation intended to be used? Edit: It might look something like this: #472 |
@craigotis Your PR looks good to me but i would advocate adding some test coverage so that we can safely track whether its properly working |
Issue
Currently it is possible to cancel a consumer, but their is not clear way to restart the consumer.
Reason
When dependencies of a Microservice are offline it is beneficial to stop the consumer and only restart when work is ready to be continued. This saves a lot of rabbit bandwidth not needing to deliver nack requeue over and over until the consumer is ready.
Solution
Maintain a list of the consumer options so that the canceled consumer can be restarted
The text was updated successfully, but these errors were encountered: