Skip to content

Commit 7e5f902

Browse files
SenrianOpenClaw Agent
andauthored
docs: mark RabbitMQ mirror cluster mode as deprecated since 4.0 (#339)
Fix #329 - RabbitMQ High Availability Description is Outdated - Add deprecation warning to mirror cluster mode section - Note that mirror cluster mode is deprecated since RabbitMQ 4.0 - Recommend Quorum Queues as the preferred HA solution - Reference issue #329 Co-authored-by: OpenClaw Agent <oc-agent@openclaw.ai>
1 parent 255639d commit 7e5f902

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/high-concurrency/how-to-ensure-high-availability-of-message-queues.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ RabbitMQ 有三种模式:单机模式、普通集群模式、镜像集群模
3838

3939
所以这个事儿就比较尴尬了,这就**没有什么所谓的高可用性****这方案主要是提高吞吐量的**,就是说让集群中多个节点来服务某个 queue 的读写操作。
4040

41-
#### 镜像集群模式(高可用性
41+
#### 镜像集群模式(⚠️ 已废弃,不推荐使用
4242

43-
这种模式,才是所谓的 RabbitMQ 的高可用模式。跟普通集群模式不一样的是,在镜像集群模式下,你创建的 queue,无论是元数据还是 queue 里的消息都会**存在于多个实例上**,就是说,每个 RabbitMQ 节点都有这个 queue 的一个**完整镜像**,包含 queue 的全部数据的意思。然后每次你写消息到 queue 的时候,都会自动把**消息同步**到多个实例的 queue 上。
43+
> **⚠️ 重要更新**:自 RabbitMQ 4.0 版本起,镜像集群模式已被正式废弃,不再支持新增镜像策略。建议现有用户尽快迁移至 Quorum Queues。
44+
45+
这种模式,曾经是所谓的 RabbitMQ 高可用模式。跟普通集群模式不一样的是,在镜像集群模式下,你创建的 queue,无论是元数据还是 queue 里的消息都会**存在于多个实例上**,就是说,每个 RabbitMQ 节点都有这个 queue 的一个**完整镜像**,包含 queue 的全部数据的意思。然后每次你写消息到 queue 的时候,都会自动把**消息同步**到多个实例的 queue 上。
4446

4547
![mq-8](./images/mq-8.png)
4648

0 commit comments

Comments
 (0)