You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by "bugCats (via GitHub)" <gi...@apache.org> on 2023/05/26 10:09:14 UTC

[GitHub] [rocketmq] bugCats added a comment to the discussion: SimpleConsumer.changeInvisibleDuration似乎有点问题?

GitHub user bugCats added a comment to the discussion: SimpleConsumer.changeInvisibleDuration似乎有点问题?

在正常消费消息之后,会马上执行`SimpleConsumer.ack`提交消费状态。

**监测线程**会在第13秒的时候,把[17]~[24]消息的不可见时间重置为15s;

我理解是,在[26]~[33]这里,正常消费之后执行`SimpleConsumer.ack`提交消费状态,应该是算消费成功,不应该再次对消费者可见。
[simpleconsumer消费重试策略](https://rocketmq.apache.org/zh/docs/featureBehavior/10consumerretrypolicy#simpleconsumer消费重试策略)



GitHub link: https://github.com/apache/rocketmq/discussions/6818#discussioncomment-6010119

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org