joewee edited a comment on issue #429:
URL: 
https://github.com/apache/rocketmq-spring/issues/429#issuecomment-1032122875


   I have read the relevant code in ConsumeMessageConcurrentlyService and 
ConsumeMessageOrderlyService, i think the purpose of use LinkedBlockingQueue 
with default capacity bound (Integer.MAX_VALUE) is to avoid the message loss 
caused by the task rejection or the entire consumption process to be blocked as 
much as possible. In my opinion  the implementation of ConsumeMessageService is 
right, in other words use one property like 'consumeThreadNum' instead of the 
'consumeThreadMax' maybe more suitable for this,then what's your opinion? 
   
   > Duplicate with #173 #184. The issue does exist, but it needs to be fixed 
in the RocketMQ main repo code.
   
   


-- 
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]


Reply via email to