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/01/09 02:42:20 UTC

[GitHub] zangyk opened a new issue #675: ConsumeMessageConcurrentlyService ConsumeThreadNum question

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


With regards,
Apache Git Services