In depth analysis of RocketMQ source code - message storage module

1, IntroductionRocketMQ is Alibaba's open source distributed messaging middleware. It draws on Kafka's implementation and supports functions such as message subscription and publishing, sequential message, transaction message, timing message, message backtracking, dead letter queue and so on. RocketMQ architecture is mainly divided into four pa ...

Posted by Kold on Mon, 08 Nov 2021 18:12:18 -0800

RaabitMQ environment deployment (Windows, stand-alone, cluster)

1, windows installation 1.1. erlang Download erlang download page: https://www.erlang.org/downloads erlang download address: https://erlang.org/download/otp_win64_24.0.exe You can install directly in the next step. When you encounter the following figure, install visual C++ Configure environment variables after installation And add% Er ...

Posted by cringe on Tue, 02 Nov 2021 23:14:05 -0700

RocketMQ-Producer Start Process Decryption

The following is the RocketMQ - Producer series article index: 1: Start the process (this article) 2: Routing dynamic updates 3: Send Mode Analysis + Message Type Difference 4: Sending process of producer message 5: Routing queue selection, client redundancy policy (QA) Introduction to Producer Producer is the sender of the Ro ...

Posted by Pi_Mastuh on Tue, 02 Nov 2021 09:18:26 -0700

6, RabbitMQ release confirmation

1, Release confirmation principle         The producer sets the channel to confirm mode. Once the channel enters the confirm mode, all messages published on the channel will be assigned a unique ID (starting from 1). Once the message is delivered to all matching queues, the broker will send a confirmation to ...

Posted by Kitkat on Sat, 30 Oct 2021 06:38:54 -0700

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