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 2019/12/25 01:45:53 UTC

[GitHub] [rocketmq] henrypoter commented on issue #1671: what is the rightway to use producer send async messages

henrypoter commented on issue #1671: what is the rightway to use producer send async messages 
URL: https://github.com/apache/rocketmq/issues/1671#issuecomment-568819605
 
 
   > Why do you say `only support 5w requests in the queue`?
   > From the error info of `java.util.concurrent.ThreadPoolExecutor@57536d79[Running, pool size = 8, active threads = 8, queued tasks = 50000, completed tasks = 0]`,I doubt that not even one message was sent successfully. Because the completed task shouldn't be 0.
   > There must be sth. wrong. Could you please provide more infos?
   
   The ‘completed tasks’ is not always 0. This exception occured because the broker can not process message as quickly as the producer async send. 
   
   https://github.com/apache/rocketmq/blob/master/client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java#L125

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services