Consumer reported consumption site analysis

1. Preface In message oriented middleware, consumers generally need to return an ACK to the Broker for a message that has been successfully consumed. Its purpose is to let the Broker know that the message has been successfully consumed and there is no need to deliver it to other consumers for retry. In RocketMQ, the specific implementation of ...

Posted on Sun, 10 Oct 2021 08:59:53 -0400 by Optimo

Proficient in RocketMQ series: tearful 15000 words in-depth analysis of RocketMQ consumer start process source code

1, Overview The message consumption of RocketMQ includes two modes: push and pull. The pull mode is officially not recommended, so we mainly introduce the push mode. Special note: the source code of this paper is based on RocketMQ4.8. 2, Push mode startup process 1. consumer code snippet package com.example.demo.rocketmq; import org.apache ...

Posted on Wed, 06 Oct 2021 17:34:38 -0400 by Darghon

RocketMQ source code analysis 12 (sequential message flow)

RocketMQ version 4.6.0 records the process of viewing the source code Sequential consumption is a little more complicated, mainly because sequential consumption has an impact on rebalancing and message pulling. Counterbalance Let's first look at the rebalancing. The main difference is that after calculating the consumption queue allocated ...

Posted on Tue, 28 Sep 2021 03:16:21 -0400 by stevehaysom

RocketMQ source code analysis - Consumer

catalog: RocketMQ source code analysis -- building source code environmentRocketMQ source code analysis -- NameServerRocketMQ source code analysis - BrokerRocketMQ source code analysis - ProducerRocketMQ source code analysis - message storageRocketMQ source code analysis - Consumer Understand the message Consumer: Message consumption is carr ...

Posted on Sat, 25 Sep 2021 05:05:22 -0400 by stepn