315157973 commented on a change in pull request #10961:
URL: https://github.com/apache/pulsar/pull/10961#discussion_r688394468



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
##########
@@ -1362,7 +1362,7 @@ public ShutdownService getShutdownService() {
 
     protected String brokerUrl(ServiceConfiguration config) {
         if (config.getBrokerServicePort().isPresent()) {
-            return 
brokerUrl(ServiceConfigurationUtils.getAppliedAdvertisedAddress(config),
+            return 
brokerUrl(ServiceConfigurationUtils.getAppliedAdvertisedAddress(config, true),

Review comment:
       I tried to make it support advertisedListener before, but 
advertisedListener needs to use a key to get value. In this method, we don’t 
know what key to use




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to