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 2021/04/21 06:17:35 UTC

[GitHub] [pulsar] 315157973 opened a new pull request #10297: Support advertisedListeners for standalone

315157973 opened a new pull request #10297:
URL: https://github.com/apache/pulsar/pull/10297


   
   ### Motivation
   Now `advertisedListeners` and `advertisedAddress` can not appear together.
   In MultipleListenerValidator#validateAndAnalysisAdvertisedListener :
   ```
   if (StringUtils.isNotBlank(config.getAdvertisedListeners()) && StringUtils.isNotBlank(config.getAdvertisedAddress())) {
         throw new IllegalArgumentException("`advertisedListeners` and `advertisedAddress` must not appear together");
   }
   ```
   
   ### Modifications
   Only set the default localhost when both `AdvertisedAddress` and `advertisedListeners` are not set
   
   ### Verifying this change
   


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



[GitHub] [pulsar] codelipenghui merged pull request #10297: Support advertisedListeners for standalone

Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #10297:
URL: https://github.com/apache/pulsar/pull/10297


   


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