nicoloboschi commented on a change in pull request #14197:
URL: https://github.com/apache/pulsar/pull/14197#discussion_r803514112
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/PulsarStandaloneBuilder.java
##########
@@ -113,9 +113,10 @@ public PulsarStandalone build() {
// 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());
+ // Set metadata server's host to localhost
+ pulsarStandalone.getConfig().setMetadataStoreUrl("zk:" + zkServers +
":" + pulsarStandalone.getZkPort());
Review comment:
Could you the constant value in ZKMetadataStore? In this way is easier
to find its usages
--
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]