- There are three nodes in a RabbitMQ cluster as below.
- Within RabbitMQ, there are two queues,
q1
andq2
. - The master replica of
q1
andq2
are distributed on different nodes. Both queues are mirrored by other nodes. - There is a load balancer in front of three nodes.
- AMQP(node port 5672) and Management HTTP API(node port 15672) are exposed by load balancer.
When application establishes a connection through load balancer, it could reach a random RabbitMQ node behind. And this is invisible to application.
Question:
Is it ok for application to consume both queues in a single AMQP channel over a single connection no matter which RabbitMQ node it reaches?
It is ok for application to call management HTTP API no matter which RabbitMQ node its request hits?