Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make standalone to advertise "localhost" to avoid failure when hostna…
…me is not resolvable (apache#5856) ### Motivation The standalone service is failing to startup when the hostname is not resolvable to an IP. This is common in laptops. The reason is that the function worker in standalone is trying to connect to the advertised address rather than "localhost". To fix this, we should make the standalone to always advertise "localhost" as the the broker address. This is ok because in any case the standalone treats the advertisement as the pulsar proxy, in that it forces the clients to always go through the same service url, so a client connecting from a different host won't have problems.
- Loading branch information