You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by "pxd98 (via GitHub)" <gi...@apache.org> on 2024/12/13 07:15:57 UTC
[D] RocketMQ 多集群同步问题 [rocketmq]
GitHub user pxd98 created a discussion: RocketMQ 多集群同步问题
我想问一下RocketMQ有多集群同步工具吗?就是搭建了两个RocketMQ集群,然后生产者和消费者只往一个集群上发送,但是希望这个集群中的消息可以同步到另一个集群上。
我想到的一个变通方法是这样子的第一个集群中的节点注册到这个集群的namespace上,另一个集群中的节点除了注册到自己的namespace上,还会以从节点的身份注册到第一个集群的namespace上。
GitHub link: https://github.com/apache/rocketmq/discussions/9053
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
Re: [D] RocketMQ 多集群同步问题 [rocketmq]
Posted by "humkum (via GitHub)" <gi...@apache.org>.
GitHub user humkum added a comment to the discussion: RocketMQ 多集群同步问题
同一个 namesrv 下的不同 broker 不会同步数据的,你这样注册到第一个集群的 namesrv 上,只会将不同的消息发送到两个集群的 broker,两个集群的消息不是相同的,而是两个集群的消息加在一起是全量消息。
对于这种情况,建议自己写一个工具,内部实现一个第一个集群的 consumer,消费对应的 topic 消息,然后用第二个集群的 producer 发送到第二个集群。
GitHub link: https://github.com/apache/rocketmq/discussions/9053#discussioncomment-11580237
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org
Re: [D] RocketMQ 多集群同步问题 [rocketmq]
Posted by "onejimmyboy (via GitHub)" <gi...@apache.org>.
GitHub user onejimmyboy added a comment to the discussion: RocketMQ 多集群同步问题
没有开源的同步工具吗?
GitHub link: https://github.com/apache/rocketmq/discussions/9053#discussioncomment-12244193
----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org