This is an automated email from the ASF dual-hosted git repository.

lizhimin pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new 9c0cc510dc [ISSUE #10189] Remove unused 
fetchRemoteConfigExecutorService in MQClientInstance (#10190)
9c0cc510dc is described below

commit 9c0cc510dce93ec73cdde3b66227545a0c4d76e9
Author: wizcraft_kris <[email protected]>
AuthorDate: Tue Mar 31 17:04:47 2026 +0800

    [ISSUE #10189] Remove unused fetchRemoteConfigExecutorService in 
MQClientInstance (#10190)
---
 .../org/apache/rocketmq/client/impl/factory/MQClientInstance.java  | 7 -------
 1 file changed, 7 deletions(-)

diff --git 
a/client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
 
b/client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
index e10807cf50..cd45fed2a3 100644
--- 
a/client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
+++ 
b/client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
@@ -86,7 +86,6 @@ import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Executors;
 import java.util.concurrent.RejectedExecutionException;
 import java.util.concurrent.ScheduledExecutorService;
-import java.util.concurrent.ThreadFactory;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicLong;
 import java.util.concurrent.locks.Lock;
@@ -135,12 +134,6 @@ public class MQClientInstance {
     private final Set<String/* Broker address */> brokerSupportV2HeartbeatSet 
= new HashSet<>();
     private final ConcurrentMap<String, Integer> 
brokerAddrHeartbeatFingerprintTable = new ConcurrentHashMap<>();
     private final ScheduledExecutorService scheduledExecutorService = 
Executors.newSingleThreadScheduledExecutor(r -> new Thread(r, 
"MQClientFactoryScheduledThread"));
-    private final ScheduledExecutorService fetchRemoteConfigExecutorService = 
Executors.newSingleThreadScheduledExecutor(new ThreadFactory() {
-        @Override
-        public Thread newThread(Runnable r) {
-            return new Thread(r, 
"MQClientFactoryFetchRemoteConfigScheduledThread");
-        }
-    });
     private final PullMessageService pullMessageService;
     private final RebalanceService rebalanceService;
     private final DefaultMQProducer defaultMQProducer;

Reply via email to