zangyk opened a new issue #675: ConsumeMessageConcurrentlyService 
ConsumeThreadNum question
URL: https://github.com/apache/rocketmq/issues/675
 
 
    this.consumeRequestQueue = new LinkedBlockingQueue<Runnable>();
   
     this.consumeExecutor = new ThreadPoolExecutor(
               this.defaultMQPushConsumer.getConsumeThreadMin(),
               this.defaultMQPushConsumer.getConsumeThreadMax(),
               1000 * 60,
               TimeUnit.MILLISECONDS,
               this.consumeRequestQueue,
               new ThreadFactoryImpl("ConsumeMessageThread_"));
   consumeRequestQueue 是 LinkedBlockingQueue,  设置最大线程个数应该不起作用。
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to