merlimat commented on issue #3555: Allow to automatically assign TCP ports when 
starting a broker
URL: https://github.com/apache/pulsar/pull/3555#issuecomment-546766067
 
 
   > my point is to prevent mistakes like what we did in bookkeeper. 0 is only 
useful in tests, but it is actually harmful in production. we should provide a 
flag to prevent mistakes.
   
   I think it's much more misleading to require a separate flag. Every server 
software out there will work if you put port 0 without any additional 
configuration.
   
   >  0 is only useful in tests, but it is actually harmful in production. we 
should provide a flag to prevent mistakes.
   
   You would have to put 0 directly in the config file. I don't see what can be 
unexpected or harmful.
   Having port 0 to dynamically allocate a port is not our made up convention, 
it's the common behavior for unix.
   
   

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


With regards,
Apache Git Services

Reply via email to