[Openstack] [oslo.messaging] multiple consumers for same message fanout=True target is not working.

Tong Li litong01 at us.ibm.com
Wed Jul 2 04:30:23 UTC 2014


oslo.message target can be created with fanout set to be true to allow a
message to be consumed by multiple consumers (targets), however, it does
not really work. Looked through oslo.messaging test cases, there is no one
test case actually test fanout=True. Is this a bug or I am not using it
right? Here is how my target gets created.

	oslo.messaging.Target(topic=topic, exchange=exchange, fanout=True)

The use case is to consume messages posted onto notifications queue by
multiple consumers, so that each consume processes the message according to
its need. The problem is that only one consume gets a message, not all
consumers get the same message. Seems to me that the fanout = True is not
working. Can anyone shed some lights on this?

Thanks.

Tong Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140702/ba842447/attachment.html>


More information about the Openstack mailing list