information note
In SpringBoot integrated RocketMQ, in practice, through the RocketMQ DashBoard observation, the producer can be normal will be submitted to the message; through the logs and DashBoard observation, the consumer successfully registered in RocketMQ and subscription and observed the consumer to start the log line. The problem is that the consumer still does not automatically consume the messages submitted by the producer [by DashBoard to re-push the message, at this time the consumer can be consumed normally, only manually].
The troubleshooting process is omitted. I won't go into detail about why for now, but will do so later when I have time.
Problem solving
SpringBoot version and RocketMQ version is not appropriate, here first give a set of stable version with, there are newer and better with welcome to point out.
<parent>
<groupId></groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependency>
<groupId></groupId>
<artifactId>rocketmq-spring-boot-starter</artifactId>
<version>2.2.0</version>
</dependency>