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



##########
File path: 
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/bookkeeper/AbstractMetadataDriver.java
##########
@@ -98,7 +98,9 @@ void createMetadataStore() throws MetadataException {
 
             String url;
             try {
-                url = 
conf.getMetadataServiceUri().replaceFirst(METADATA_STORE_SCHEME + ":", "");
+                url = conf.getMetadataServiceUri()
+                        .replaceFirst(METADATA_STORE_SCHEME + ":", "")
+                        .replace(";", ",");

Review comment:
       If you set `metadataServiceUri` in bookkeeper.conf with semicolon, like 
zk1:2181;zk2:2181/test, without replace semicolon with comma. metadataStore 
will be failed created.




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