Cczzzz commented on a change in pull request #1801: add client custom 
nameserver TopAddressing
URL: https://github.com/apache/rocketmq/pull/1801#discussion_r385172817
 
 

 ##########
 File path: 
client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java
 ##########
 @@ -174,16 +174,17 @@
     }
 
     private final RemotingClient remotingClient;
-    private final TopAddressing topAddressing;
+    private final TopAddressingImpl topAddressing;
     private final ClientRemotingProcessor clientRemotingProcessor;
-    private String nameSrvAddr = null;
+    private volatile String nameSrvAddr = null;
 
 Review comment:
   It could be another thread in the callback function

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


With regards,
Apache Git Services

Reply via email to