diff --git a/client/src/main/java/org/apache/rocketmq/client/trace/AsyncTraceDispatcher.java b/client/src/main/java/org/apache/rocketmq/client/trace/AsyncTraceDispatcher.java index 34af0fbe904addfba245aaf3d2b9df306a29e3d0..ca3bcfa261a574cd6df668d99f4b8170d4eb40da 100644 --- a/client/src/main/java/org/apache/rocketmq/client/trace/AsyncTraceDispatcher.java +++ b/client/src/main/java/org/apache/rocketmq/client/trace/AsyncTraceDispatcher.java @@ -87,12 +87,12 @@ public class AsyncTraceDispatcher implements TraceDispatcher { } else { this.traceTopicName = MixAll.RMQ_SYS_TRACE_TOPIC; } - this.traceExecutor = new ThreadPoolExecutor( - 10, - 20, - 1000 * 60, - TimeUnit.MILLISECONDS, - this.appenderQueue, + this.traceExecutor = new ThreadPoolExecutor(// + 10, // + 20, // + 1000 * 60, // + TimeUnit.MILLISECONDS, // + this.appenderQueue, // new ThreadFactoryImpl("MQTraceSendThread_")); traceProducer = getAndCreateTraceProducer(rpcHook); } @@ -133,7 +133,6 @@ public class AsyncTraceDispatcher implements TraceDispatcher { this.hostConsumer = hostConsumer; } - @Override public void start(String nameSrvAddr, AccessChannel accessChannel) throws MQClientException { if (isStarted.compareAndSet(false, true)) { traceProducer.setNamesrvAddr(nameSrvAddr);