-
Notifications
You must be signed in to change notification settings - Fork 11.7k
RIP 12 Message Connector
Current State: Implementing
Authors: HuZongTang, WangShaoJie
Shepherds: DuHeng
Mailing List discussion: users@rocketmq.apache.org;dev@rocketmq.apache.org
Pull Request:
Released: <5.0.0>
In current version of rocketmq project, different cluster can't exchange messages each other. Although dLedger structure improves availability of rocketmq much more, it still can't implement backuping messages for different cluster. So, we need a mechanism to implement backuping messages for different cluster. It can improve availability of multiple rocketmq cluster. Here, we called it Message Connector.
We plan to design a component call Message Connector for RocketMQ. User can define the topic message routing rule by configing file, such as source topic, targe topic, filter tag , source cluster and targe cluster info. ##To what degree should we solve the problem? (1)Define some rules in configing files; (2)Better availability for messages in multiple cluster enviroment. (3)Monitering some parameters in the process of message replication;
In this phase, this rip only support starting message replication from the latest message position currently in the message queue.
If users want to use this feature, they will deploy Message Connector Component. It will add a little complexity for operation and maintenance.
If users want to use this feature, they will deploy Message Connector Component.
We plan to design the function of Message Connector as a new component. The total architecture is as below:
https://docs.google.com/document/d/1haZ_HtAFWX39SDyeYWKWWvwT5vSnq0JqZvaNT1RtFFI/edit
Enahncement 1: Sub-project: Implement full messages synchronous replication We will implement the basic feature for this rip. In this phase, Users can use the Message Connector Component for message replication basicly.
Enhancement 2: Sub-project: Monitering some parameters in the process of message replication This phase we will collect some parameters in the process of message replication, such as message tps, delay, latest synchronous time and so on.User can show this parameters in their own monitering system.
Enhancement 3: Sub-project: Implement exactly once replication This phase we will implement message idempotency to meet the exactly once demand.
Copyright © 2016~2022 The Apache Software Foundation.
- Home
- RocketMQ Improvement Proposal
- User Guide
- Community