Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们使用 ActiveMQ 配置网络连接器来实现 2 个 broker 之间的消息通道,现在我们想使用 RocketMQ。但是我看了很多文章,RocketMQ中似乎没有像WebSphere MQ那样的“通道”或像ActiveMQ这样的“网络连接器”的概念。那么如何在 RockemtMQ 中配置 2 个 broker 之间的消息通道呢?或者如何在 RocketMQ 中实现 WMQ 或 AMQ 之类的“通道”场景?
您实际上不需要,slave 会自动从名称服务器更新主地址。
你只需要做:
但如果您确实需要手动设置,只需haMasterAddress在您的从配置文件中进行配置:
haMasterAddress
haMasterAddress=YOUR_MASTER_ADDRESS_HERE
这将停止从名称服务器更新主地址