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/07/31 13:49:01 UTC

[GitHub] [rocketmq-externals] yiliuchen commented on a change in pull request #348: [ISSUE #345] set InstanceName when create rmq client

yiliuchen commented on a change in pull request #348: [ISSUE #345] set InstanceName when create rmq client
URL: https://github.com/apache/rocketmq-externals/pull/348#discussion_r309230438
 
 

 ##########
 File path: rocketmq-connect/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/connectorwrapper/Worker.java
 ##########
 @@ -269,6 +269,7 @@ public synchronized void startTasks(Map<String, List<ConnectKeyValue>> taskConfi
                     }
                     producer.setMaxMessageSize(RuntimeConfigDefine.MAX_MESSAGE_SIZE);
                     producer.setLanguage(LanguageCode.JAVA);
+                    producer.setInstanceName(connectConfig.getRmqInstanceName());
 
 Review comment:
   I originally wanted to design like a replicator, but no utils class.  this pr #355 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services