RocketMQ source code analysis [2] NameServer startup process source code analysis

entrance The startup entry of the NameServer source code is in the main method of the NamesrvStartup class You can see that the methods are well encapsulated, and each method does one thing. The core method is these two NamesrvController controller = createNamesrvController(args); start(controller); How is NamesrvController create ...

Posted by Jezza on Tue, 21 Sep 2021 16:08:29 -0700

RocketMQ practice and best practices

Practical application maven dependency <dependency> <groupId>org.apache.rocketmq</groupId> <artifactId>rocketmq-client</artifactId> <version>4.9.1</version> </dependency> General message message sending 1. The Producer sends a synchronization message This reliable synchronous ...

Posted by refiking on Tue, 21 Sep 2021 15:19:05 -0700

Spring Cloud Bus message bus

1. Bus message bus   Spring Cloud Bus is A message bus within the Spring Cloud system, supporting RabbitMQ and Kafka message middleware. The so-called message bus is simply understood as A message center. Many micro service instances can be connected to the bus, and the instances can send or receive information to the message center ( ...

Posted by Bluelove on Sat, 04 Sep 2021 17:05:17 -0700