spring - How does a Rabbitmq Topic Subscriber work in a clustered application server to recieve messages? -
i have rabbit topic multiple (say 2)subscribers running in load balanced application server cluster ( 3 ) .
so message delivered (2 x 3 ) subscribers of listeners in clustered environment or 2 listeners ?
there's no such thing "topic" in rabbitmq (amqp).
the closest thing jms topic scenario fanout exchange 2 queues bound it. each queue gets reference message sent exchange both consumers (one per queue) gets copy of message.
if have multiple consumers (e.g. 3) on each queue, messages in queue distributed round-robin fashion consumers. 1 consumer per queue gets message.
Comments
Post a Comment