GitHub user cserwen added a comment to the discussion: SimpleConsumer.changeInvisibleDuration似乎有点问题?
嗯,消息不可见时间是预分配的,分配好了这次拉取的消息就无法更改了,但是可以修改下次消费的,这个需求的目的是什么?避免频繁因超时而消费失败吗,实际上消费逻辑增加个幂等逻辑即可,同时根据业务情况设置合理的不可见时间,尽量降低消费超时出现的概率 GitHub link: https://github.com/apache/rocketmq/discussions/6818#discussioncomment-6010265 ---- This is an automatically sent email for dev@rocketmq.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@rocketmq.apache.org