Messages can be retained on the Message Queue for Apache RocketMQ broker for at most three days.
All types of published messages are retained on the Message Queue for Apache RocketMQ broker for at most three days. The messages are deleted after they have been retained for three days, no matter whether they are consumed. We recommend that you use the monitoring and alerting feature to monitor the message consumption status in real time, and manually intervene based on alerts. For more information, see Overview.