rabbitmq-cli-consumer
rabbitmq-cli-consumer copied to clipboard
Stop consuming messages
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!
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.
So do I need to kill the server process to stop consuming then ?