Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Weekly build 20200524

Choose a tag to compare

@zymap zymap released this 24 May 01:17
· 635 commits to master since this release
776bce2
fix advertised address config issue (#154)

In Pulsar standalone mode, If advertisedAddress not set, it is hard coded as "localhost":
```
        if (this.getAdvertisedAddress() != null) {
            // Use advertised address from command line
            config.setAdvertisedAddress(this.getAdvertisedAddress());
            zkServers = this.getAdvertisedAddress();
        } else if (isBlank(config.getAdvertisedAddress())) {
            // Use advertised address as local hostname
            config.setAdvertisedAddress("localhost");
        } else {
            // Use advertised address from config file
        }
```

And in KoP, if host address  not set in listeners, it will use advertised address to do the config.
Then the value read from conf.properties is outdated. This PR update it with right value.