2, Routing center NameServer of RockerMQ

Routing center NameServer What data is stored in the routing center?How to avoid a single point of failure of nameserver?How is it different from eukera and zookeeper? 1, NamesServer architecture design How do producers know which server to send messages to in a multi broker server?When a server goes down, how can producers perceive it ...

Posted by sup on Sun, 24 Oct 2021 20:59:41 +0200

13 rocketmq development model

In the previous part, we can build a RocketMQ cluster, and then use the command line to write messages to RocketMQ and consume them. In this part, let's look at how to use RocketMQ in the project. 1, RocketMQ native API usage Using RocketMQ's native API development is the simplest and most reliable way at present. Here, we use SpringBoot ...

Posted by John Canyon on Wed, 20 Oct 2021 09:54:46 +0200

SpringCloudAlibaba - Implementation of RocketMQ Distributed Transaction Message

Preface RocketMQ provides transaction messages to resolve issues where the program rolls back abnormally but the message has been sent, such as service B needs to modify user data after service A inserts a data, service A sends a message and program exception causes data insertion rollback, while service B listens for messages and modifies ...

Posted by merrydown on Tue, 28 Sep 2021 18:04:57 +0200

RocketMQ source code analysis [3] Broker startup process source code analysis

entrance The source code entry for Broker startup is BrokerStartup.java Core process The main process is similar to NameServer startup Create broker controllerStart the BrokerController public static void main(String[] args) { start(createBrokerController(args)); } public static BrokerController start(BrokerController ...

Posted by Domhnall on Sat, 25 Sep 2021 12:15:14 +0200