You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "acoder2014 (JIRA)" <ji...@apache.org> on 2017/10/28 07:04:00 UTC
[jira] [Created] (ROCKETMQ-306) Specify thread's name of
DefaultMQProducerImpl's checkExecutor
acoder2014 created ROCKETMQ-306:
-----------------------------------
Summary: Specify thread's name of DefaultMQProducerImpl's checkExecutor
Key: ROCKETMQ-306
URL: https://issues.apache.org/jira/browse/ROCKETMQ-306
Project: Apache RocketMQ
Issue Type: Improvement
Components: rocketmq-client
Affects Versions: 4.1.0-incubating
Reporter: acoder2014
Assignee: Xiaorui Wang
Priority: Critical
Current the way of initializing checkExecutor didn't specify a threadFactory with provided a meaningful thread name which is very helpful to trace the error information,so we better assign a name of this thread pool.
{code:java}
this.checkExecutor = new ThreadPoolExecutor(
producer.getCheckThreadPoolMinSize(),
producer.getCheckThreadPoolMaxSize(),
1000 * 60,
TimeUnit.MILLISECONDS,
this.checkRequestQueue);
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)