来自 RabbitMQ 集群的 queue 是否在物理上专用于一台服务器?
Is a queue from RabbitMQ cluster physically dedicated to one server?
就像标题中提到的,当一个 queue 在集群中的一组节点中的服务器上声明时,它实际上是在单个服务器上吗?或者在物理上分布在节点上并在服务器上逻辑上考虑?
All data/state required for the operation of a RabbitMQ broker is
replicated across all nodes. An exception to this are message
queues, which by default reside on one node, though they are visible
and reachable from all nodes.
所以除非队列被镜像,否则它们在一个节点上(镜像队列见here)。
就像标题中提到的,当一个 queue 在集群中的一组节点中的服务器上声明时,它实际上是在单个服务器上吗?或者在物理上分布在节点上并在服务器上逻辑上考虑?
All data/state required for the operation of a RabbitMQ broker is replicated across all nodes. An exception to this are message queues, which by default reside on one node, though they are visible and reachable from all nodes.
所以除非队列被镜像,否则它们在一个节点上(镜像队列见here)。