In my case:
- I have 3 nodes in cluster.
- RabbitMQ_node1 is leader of queue A and have no mirror.
- When I pub messages with persistence mode with connection to RabbitMQ_node2 I see message will store in RabbitMQ_node1.
I read it in document of RabbitMQ:
- Assuming all cluster members are available, a client can connect to any node and perform any operation. Nodes will route operations to the quorum queue leader or queue leader replica transparently to clients.
I try to log about this event, I want to see how RabbitMQ_node2 can route operations to RabbitMQ_node1(Queue Leader): Log, send event or anything else. Thank for your help.
RabbitMQ does not log inter-node communication. The closest you'll get is to take a packet capture from the distributed Erlang TCP connections. By default RabbitMQ configures Erlang to listen on port
25672for distributed Erlang.