merlimat opened a new pull request #5856: Make standalone to advertise 
"localhost" to avoid failure when hostname is not resolvable
URL: https://github.com/apache/pulsar/pull/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.

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


With regards,
Apache Git Services

Reply via email to