Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Make standalone to advertise "localhost" to avoid failure when hostname is not resolvable #5856
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.
9 similar comments
3 similar comments