← Back to team overview

openstack team mailing list archive

Re: [nova] why does notification use a "topic" exchange instead of "fanout"?

 

The reason nova uses a topic exchange and queues like it does is so the processing of notifications can be round-robined to multiple workers.  You should be able to open a new queue on the same exchange and receive copies of each message. 

On May 8, 2012, at 3:19 PM, Doug Hellmann wrote:

> I'm working on some code to monitor notification messages coming from nova by listening directly on the AMQP queue. Unfortunately, nova is using a topic exchange so it seems I can't safely consume the messages or they might not go to some other client that is expecting to see them (especially some other part of nova that is expecting to receive the notification). It seems like notifications should be available to more than one subscriber at a time, but I thought I would ask for background before I started working on a patch to change it.
> 
> Is there a particular reason a topic exchange was used for notifications?
> 
> Thanks,
> Doug
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

--
	Monsyne M. Dragon
	OpenStack/Nova 
	cell 210-441-0965
	work x 5014190



Follow ups

References