Before Creating the Bug Report
Runtime platform environment
Linux
RocketMQ version
5.1.3
JDK Version
1.8
Describe the Bug
New RocketMQ environment, start the consumer first, the producer sends a message to MQ and the consumer can't receive it. After a few seconds send another message to MQ and the consumer can receives the message. Message Model is Broadcasting, Consume_From_Where is CONSUME_FROM_LAST_OFFSET.
If the producer sends the message first and starts the consumer later, the message will not lost.
Steps to Reproduce
If the Message Model is Clustering, Consume_From_Where is CONSUME_FROM_LAST_OFFSET, the first message can not receive too, but in the dashboard page the message shows that it has been consumed.
What Did You Expect to See?
In the new RocketMQ environment, can receive the first message.
What Did You See Instead?
The first message is missing.
Additional Context
No response