[rabbitmq-discuss] load distribution among queue consumers and consumer_tag in non-exclusive mode
Tim Watson
watson.timothy at gmail.com
Sat Jul 6 07:59:41 BST 2013
Tags uniquely identify consumers in a channel and are used in some methods
such as basic.cancel. They won't affect delivery and can be duplicated across different channels. The server will also allocate them if you do not.
Cheers
Tim
On 6 Jul 2013, at 06:16, Ashok Anand <ashok.anand at gmail.com> wrote:
> I am looking at message distribution among multiple consumers listening to the same queue.. Should these consumers use different consumer tags?
>
> I tried with non-exclusive access to the queue with 4 consumers using same consumer tag. My question is whether using same consumer tag will give predicted behavior - or I must use different consumer tags.
>
> I did find that messages get distributed among 4 consumers in round-robin manner even using same consumer tag. Just wondering if this happened by chance, and ideally, these consumers must use different customer tags? I am not sure about semantics of consumer tags in non-exclusive mode access..
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list