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/03/29 01:34:56 UTC

[GitHub] [rocketmq] zongtanghu commented on a change in pull request #1121: fix trace problem

zongtanghu commented on a change in pull request #1121: fix trace problem
URL: https://github.com/apache/rocketmq/pull/1121#discussion_r270255885
 
 

 ##########
 File path: example/src/main/java/org/apache/rocketmq/example/tracemessage/TraceProducer.java
 ##########
 @@ -27,6 +27,7 @@
     public static void main(String[] args) throws MQClientException, InterruptedException {
 
         DefaultMQProducer producer = new DefaultMQProducer("ProducerGroupName",true);
+        producer.setNamesrvAddr("red-rocketmq-namesrv.sit.devops.xiaohongshu.com:9876");
 
 Review comment:
   Here,please modify your code!Here,it shouldn't come out yourself enviroment info! 

----------------------------------------------------------------
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