Show Table of Contents
20.7.5. 群集分组的最佳实践
下面是群集分组的一些最佳实践:
- 如果您经常创建和关闭消费者以确保消费者均匀地分布在不同的节点上。一旦锁定了某个队列,消息将自动地转移到该队列而不管是否删除它的客户。
- 如果您希望删除一个绑定了消息组的队列,请确保这个队列是由发送消息的会话删除的。这样可以确保在删除队列后,其它节点不会试图将消息路由至这个队列。
- 这是因为失效切换机制总是复制具有本地分组处理程序的节点。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.