You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/03/26 23:46:27 UTC

[GitHub] merlimat opened a new pull request #1449: When running standalone broker, force the proxy redirection flag

merlimat opened a new pull request #1449: When running standalone broker, force the proxy redirection flag
URL: https://github.com/apache/incubator-pulsar/pull/1449
 
 
   ### Motivation
   
   Since standalone is running a "real" Pulsar service (along with ZK and BookKeeper) it uses the same discovery mechanism used in a full blown cluster.
   
   One of the problematic aspect is that brokers need to advertise an IP/hostname that is routable by clients. 
   
   Since in standalone mode we have 1 single broker, we can get away with that additional configuration by forcing client to treat the standalone as a proxy.
   
   ### Modifications
   
    * Added a configuration flag for standalone mode. When the flag is set it will force the clients to connect through the same service url they have been already connecting to. 
   
   ### Result
   
   No need to specify `advertisedAddress` when running standalone service.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services