openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #11509
Re: [nova] why does notification use a "topic" exchange instead of "fanout"?
-
To:
openstack@xxxxxxxxxxxxxxxxxxx
-
From:
Russell Bryant <rbryant@xxxxxxxxxx>
-
Date:
Thu, 10 May 2012 01:35:31 -0400
-
In-reply-to:
<CAH=QEeB4u3p2rkFuxs57V-vGBZOicfCJRAtUhgmJdR2FoChSsg@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
On 05/09/2012 03:17 PM, Tihomir Trifonov wrote:
> Hi Doug,
>
> not sure if you've hit the same problem, but I've spent some time on
> that when I started using RabbitMQ. As I see from the example, you've
> provided:
>
> queue = Queue(name='notifications.info',
>
> exchange=Exchange(name='nova'...
>
>
>
> So you set explicitly a name for the queue. If you have two queues
> declared with the same name, when they are bound to an Exchange,
> actually each message is received only by the one queue at a time.
To be a bit pedantic, the result is that there is only one queue and two
consumers from that queue. Only one consumer gets each message. When
there is more than one consumer from the same queue, messages will be
distributed in a round-robin fashion.
--
Russell Bryant
References
-
[nova] why does notification use a "topic" exchange instead of "fanout"?
From: Doug Hellmann, 2012-05-08
-
Re: [nova] why does notification use a "topic" exchange instead of "fanout"?
From: Russell Bryant, 2012-05-08
-
Re: [nova] why does notification use a "topic" exchange instead of "fanout"?
From: Doug Hellmann, 2012-05-08
-
Re: [nova] why does notification use a "topic" exchange instead of "fanout"?
From: Russell Bryant, 2012-05-08
-
Re: [nova] why does notification use a "topic" exchange instead of "fanout"?
From: Doug Hellmann, 2012-05-08
-
Re: [nova] why does notification use a "topic" exchange instead of "fanout"?
From: Day, Phil, 2012-05-09
-
Re: [nova] why does notification use a "topic" exchange instead of "fanout"?
From: Kiall Mac Innes, 2012-05-09
-
Re: [nova] why does notification use a "topic" exchange instead of "fanout"?
From: Day, Phil, 2012-05-09
-
Re: [nova] why does notification use a "topic" exchange instead of "fanout"?
From: Kiall Mac Innes, 2012-05-09
-
Re: [nova] why does notification use a "topic" exchange instead of "fanout"?
From: Doug Hellmann, 2012-05-09
-
Re: [nova] why does notification use a "topic" exchange instead of "fanout"?
From: Tihomir Trifonov, 2012-05-09