amwyyyy opened a new issue #2545:
URL: https://github.com/apache/rocketmq/issues/2545


   Version: rocketmq-client:4.7.1
   
   We use rocketmq-client to connect to aliyun RocketMQ(ONS), When upgrade from 
rocketmq-client:4.5.1 to rocketmq-client:4.7.1, the following error log 
appears: 
   ```
   2021-01-04 15:20:19,019 WARN RocketmqClient - 
updateTopicRouteInfoFromNameServer Exception
   org.apache.rocketmq.client.exception.MQClientException: CODE: 17  DESC: No 
topic route info in name server for the topic: TBW102
   See http://rocketmq.apache.org/docs/faq/ for further details.
        at 
org.apache.rocketmq.client.impl.MQClientAPIImpl.getTopicRouteInfoFromNameServer(MQClientAPIImpl.java:1383)
        at 
org.apache.rocketmq.client.impl.MQClientAPIImpl.getTopicRouteInfoFromNameServer(MQClientAPIImpl.java:1353)
        at 
org.apache.rocketmq.client.impl.factory.MQClientInstance.updateTopicRouteInfoFromNameServer(MQClientInstance.java:622)
        at 
org.apache.rocketmq.client.impl.factory.MQClientInstance.updateTopicRouteInfoFromNameServer(MQClientInstance.java:509)
        at 
org.apache.rocketmq.client.impl.factory.MQClientInstance.updateTopicRouteInfoFromNameServer(MQClientInstance.java:358)
        at 
org.apache.rocketmq.client.impl.factory.MQClientInstance$3.run(MQClientInstance.java:275)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
   ```
   
![image](https://user-images.githubusercontent.com/8274512/103516312-43df1680-4eab-11eb-8610-7bab371b009a.png)
   
![image](https://user-images.githubusercontent.com/8274512/103516318-46da0700-4eab-11eb-8fbc-267220d7a0b1.png)
   Comparing the code of the two versions, it is found that modified here.
   
   What can I do to avoid printing warn logs?


----------------------------------------------------------------
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:
[email protected]


Reply via email to