[rabbitmq-discuss] Robust zone-aware topology?
matthias at rabbitmq.com
Thu Feb 27 22:35:25 GMT 2014
On 27/02/14 22:17, Mordy Ovits wrote:
> I'm looking to create a robust topology for routing messages in a
> zone-aware way. I'd like messages to be sent to a "zone" and be
> handled by zone-local machines reading from a queue in that zone. In
> case all the consumers in a zone are down, consumers in another zone
> become eligible to consume the messages. If the consumers in the
> first zone come back, messages to the zone resume routing to the
> now-up consumers. Messages should never go to more than one queue
> The solution I came up with [...]
> 1) Is there a better way to do this?
Use queue federation - http://www.rabbitmq.com/federated-queues.html. It
was designed *exactly* for the use case you describe.
More information about the rabbitmq-discuss