You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/08/12 11:15:06 UTC

[GitHub] [rocketmq] caigy opened a new issue, #4815: Delay of consuming retry messages in POP mode is too long

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: dev-unsubscribe@rocketmq.apache.org.apache.org

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


[GitHub] [rocketmq] RongtongJin closed issue #4815: Delay of consuming retry messages in POP mode is too long

Posted by GitBox <gi...@apache.org>.
RongtongJin closed issue #4815: Delay of consuming retry messages in POP mode is too long
URL: https://github.com/apache/rocketmq/issues/4815


-- 
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: dev-unsubscribe@rocketmq.apache.org

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