caigy opened a new issue, #4815: URL: https://github.com/apache/rocketmq/issues/4815
**BUG REPORT** 1. Please describe the issue you observed: - What did you do (The steps to reproduce)? In POP mode, return `ConsumeConcurrentlyStatus.RECONSUME_LATER` for consuming the message again, then wait for the message consuming again. - What is expected to see? The message should be consumed again for seconds, if no new messages are produced. - What did you see instead? It took at least 2 minutes to consume the message for the next time. 2. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc): The delay (or invisible) time for retry messages is calculated as follows: https://github.com/apache/rocketmq/blob/e5a71bb95f6b8c1dcb4e44d5948469629da3833b/client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessagePopConcurrentlyService.java#L287-L293 When `delayLevel` is 0, the delay (or invisible) time is 120s, which is too long. https://github.com/apache/rocketmq/blob/e5a71bb95f6b8c1dcb4e44d5948469629da3833b/client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java#L132-L133 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
