go-rabbitmq
go-rabbitmq copied to clipboard
how to gracefully shutdown mq consumers?
Hello bro,
we need to wait goroutine to completed, then close the consumer,
go handlerGoroutine(consumer, msgs, options, handler)
I Want a consumer gracefull-shutdown demo.
Thanks a lot.