merlimat opened a new issue #372: Allow to configure a specific address to advertise the bookie URL: https://github.com/apache/bookkeeper/issues/372 Currently the bookies advertise itself, by default based on its own IP. There are ways to control: * Which IP to use, by selecting a `listeningInterface` * Whether to use the machine hostname, by setting `useHostNameAsBookieID` Though there is no way to force a particular address which the bookie should use to advertise itself. This can be necessary in some deployment scenarios for different reasons: * The Machine/VM has multiple IPs. One public and one private. The bookie should bind on the private IP but it should advertise the public IP to clients. * The bookie runs inside container (or pods) and the IP might change across restart, so we need a more "stable" bookie identifier (eg: the host machine IP or hostname). For these reason, we should allow to control the `advertisedAddress` in the bookie config: ```properties advertisedAddress=10.0.0.2 ... ``` ---------------------------------------------------------------- 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