tsunghanjacktsai commented on code in PR #459:
URL: https://github.com/apache/rocketmq-connect/pull/459#discussion_r1161245392


##########
connectors/rocketmq-replicator/src/main/java/org/apache/rocketmq/replicator/ReplicatorSourceConnector.java:
##########
@@ -122,6 +135,25 @@ public int compare(MessageQueue o1, MessageQueue o2) {
         return result;
     }
 
+    private void execScheduleTask() {
+        requestTaskReconfigExecutorService.scheduleAtFixedRate(new Runnable() {
+            @Override
+            public void run() {
+                Map<String, String> topicTagMap = 
ReplicatorConnectorConfig.getSrcTopicTagMap(
+                        
connectorConfig.getString(ReplicatorConnectorConfig.SRC_INSTANCEID),

Review Comment:
   Yes, both situations where instanceID is empty or did not get filled have 
been verified in the test environment.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to