gaozhangmin commented on a change in pull request #14197:
URL: https://github.com/apache/pulsar/pull/14197#discussion_r804320911



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/PulsarStandaloneBuilder.java
##########
@@ -109,13 +109,12 @@ public PulsarStandalone build() {
         } else if 
(isBlank(pulsarStandalone.getConfig().getAdvertisedAddress())) {
             // Use advertised address as local hostname
             
pulsarStandalone.getConfig().setAdvertisedAddress(ServiceConfigurationUtils.unsafeLocalhostResolve());
-        } else {
-            // Use advertised address from config file
         }
 
-        // Set ZK server's host to localhost
-        pulsarStandalone.getConfig().setZookeeperServers(zkServers + ":" + 
pulsarStandalone.getZkPort());
-        pulsarStandalone.getConfig().setConfigurationStoreServers(zkServers + 
":" + pulsarStandalone.getZkPort());
+        String metadataStoreUrl = "zk:" + zkServers + ":" + 
pulsarStandalone.getZkPort();

Review comment:
       Resolved. Thx.




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