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:
[email protected]


Reply via email to