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 2022/02/10 10:28:04 UTC
[GitHub] [pulsar] gaozhangmin commented on a change in pull request #14197: Change deprecated setZookeeperServers to setMetadataStoreUrl
gaozhangmin commented on a change in pull request #14197:
URL: https://github.com/apache/pulsar/pull/14197#discussion_r803522354
##########
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:
@nicoloboschi PTAL agin, 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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org