You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "SchopenhauerZhang (via GitHub)" <gi...@apache.org> on 2023/08/21 12:38:01 UTC

[GitHub] [rocketmq] SchopenhauerZhang commented on issue #7182: [Bug] 消费者在消息还在处理时下线(interrupted by signal 2: SIGINT);原消息的offset未标记为已消费,同时processConsumeResult会发送一条重试消息;服务不断自动重启的情况下,重复消息成倍数增长

SchopenhauerZhang commented on issue #7182:
URL: https://github.com/apache/rocketmq/issues/7182#issuecomment-1686250309

   ”消费者在未完成某个消息消费时,发生下线或重启(优雅关机),且在消费代码存在业务异常的情况下;会出现消息offoffset上报服务端为:未消费(offset未后移“
   按照我的理解,如果上报失败,消息就会重复下发,这是默认逻辑(这其实和offset没有立即上报而是周期上报有一定关系),不过这种成倍增长我还没有遇到过。是否由于消费者服务反复启停导致呢?感觉需要更多信息才能确定,我试试在我本地(5.0)能否复现。
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org