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

ConsumeQueue construction process analysis

1. Preface Theoretically, RocketMQ can run normally as long as there is a CommitLog file. Why maintain the ConsumeQueue file? ‚Äč ConsumeQueue is a consumption queue, which is introduced to improve the consumption speed of consumers. After all, RocketMQ is based on the Topic subscription mode. Consumers often only care about the messages they s ...

Posted by russy on Tue, 07 Sep 2021 13:10:43 -0700