apache / rocketmq-client-go

Apache RocketMQ go client

Home Page:https://rocketmq.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Message maybe cleaned by cleanExpiredMsg service, while the message has not been consumed.

humkum opened this issue · comments

commented

Consume startTime was set in message properties when the message was in consume logic.
If the message in process queue has not been consumed & the clean expired message routine would remove these messages and send it back to retry topic. As follows:

QzuBsAWsyp

IMO for now it means messages not consumed cause of timeout should be sent to retry topic. what do you think ?

看起来是消息刚被拉取到了客户端,但由于消息还未被消费,因此没有设置开始消费时间戳,被清理消费超时的任务给放入重试队列,实际上远远没有达到消费超时时间,容易造成消费重复 @francisoliverlee