sijie commented on issue #1254: Use advertisedAddress for bookies in pulsar 
standalone
URL: https://github.com/apache/incubator-pulsar/pull/1254#issuecomment-366892738
 
 
   @rdhabalia 
   
   I think the idea here is : if advertisedAddress is not specified, both 
zookeeper and bookie use `127.0.0.1` which it was using before; if 
advertisedAddress is specified (e.g. for testing in docker environment), all 
three components (zk, bk and broker) use the advertisedAddress. so I don't 
think we should use InetAddress.getLocalHost().getHostName() which would 
resolve to other ip address than `127.0.0.1`.
   
   Hope this make sense to you.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to