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

Stop consuming messages #51

Open
sroze opened this issue Jan 25, 2017 · 2 comments
Open

Stop consuming messages #51

sroze opened this issue Jan 25, 2017 · 2 comments

Comments

@sroze
Copy link
Contributor

sroze commented Jan 25, 2017

Hello there! Is there a way (a signal to send?) to say to the consumer to finish consuming the message and then stop? This would be needed to gracefully update the worker

Thanks!

@ricbra
Copy link
Owner

ricbra commented Jan 25, 2017

Hi @sroze

Unfortunately there is not in the current version. I'm just restarting consumers with supervisor on a rather busy queue and haven't experienced any loss of messages so far in the last 2 years. But I can't disagree a graceful restart would be much better. If you're willing to contribute this I'll be happy to merge it.

@yusuf5033
Copy link

So do I need to kill the server process to stop consuming then ?

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

3 participants