duhenglucky commented on issue #1676: Wrong consume list size in the implementation of ConsumeMessageService. URL: https://github.com/apache/rocketmq/issues/1676#issuecomment-568951715 @weavernet yep, the purpose of this is to avoid the message loss caused by the task rejection or the entire consumption process to be blocked as much as possible. However, in order to prevent the occurrence of OOM, rocketmq provides a lot of flow control parameters to limit, such as: consumeConcurrentlyMaxSpan pullThresholdForQueue pullThresholdSizeForQueue suspendCurrentQueueTimeMillis more information can be referred:https://github.com/apache/rocketmq/blob/master/docs/cn/best_practice.md so it is recommended to set the same value to MinThread and MaxThread.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
