The invention discloses a message cross-cluster routing forwarding method and
system, and the method comprises the steps that a
server obtains a routing rule configuration
record written in a distributed coordination
system; the
server converts the routing rule configuration
record into a corresponding routing rule executor by using a routing rule analyzer in the Topic; the
server performs routingrule matching on messages needing to be routed in the Topic by utilizing the routing rule executor to obtain a routing cluster
list corresponding to the messages; and the server forwards the messageto the corresponding cluster according to the routing cluster
list by using a routing duplicator in the Topic. According to the message cross-cluster routing forwarding
system provided by the invention, the message cross-cluster routing forwarding method is adopted, and the cross-cluster routing replication forwarding of the message is realized by relying on the distributed coordination system atthe server to perform routing rule configuration, so that the consumption of additional computing resources is avoided, and the maintenance cost is reduced.