[rabbitmq-discuss] How to pause and resume consumption gracefully in rabbitmq?
simon at rabbitmq.com
Thu Dec 19 12:17:46 GMT 2013
Hmm. That looks like Pika is doing more than it should - it doesn't need
to create a consumer tag if one is not supplied (the server will) and it
also doesn't need to watch for duplicated consumer tags (resuming with
the same tag is supported by the server).
On 19/12/13 12:03, Михаил Доронин wrote:
> I'm using python library called pika, and I have a problem which I
> described in this question on stackoverlow.
> Basically, should I use the same consumer-tag or generate a new one if
> I'm resuming consumption?
> If I would generate a new one every time I'm resuming consumption then
> sooner or later it would match some of the previous ones and I would get
> an exception.
> четверг, 19 декабря 2013 г., 15:57:09 UTC+4 пользователь Alvaro Videla
> basic.cancel will stop consuming from a queue. When you want to resume
> consuming, you can just issue the same basic.consume you did before
> On Thu, Dec 19, 2013 at 12:49 PM, Михаил Доронин <warri... at gmail.com
> > So...
> > _______________________________________________
> > rabbitmq-discuss mailing list
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
More information about the rabbitmq-discuss