rushsky518 commented on issue #1764: Optimize 
RemotingHelper#parseSocketAddressAddr
URL: https://github.com/apache/rocketmq/pull/1764#issuecomment-593052187
 
 
   @xujianhai666
   when `producer.setNamesrvAddr("localhost:9876")`
   ````java
   // 
org.apache.rocketmq.remoting.netty.NettyRemotingClient.NettyConnectManageHandler#connect
   final String local = localAddress == null ? "UNKNOWN" : 
RemotingHelper.parseSocketAddressAddr(localAddress);
   final String remote = remoteAddress == null ? "UNKNOWN" : 
RemotingHelper.parseSocketAddressAddr(remoteAddress);
   log.info("NETTY CLIENT PIPELINE: CONNECT  {} => {}", local, remote);
   ````
   `remote` is 'ocalhost/127.0.0.1:9876'

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