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



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/PulsarClusterMetadataSetup.java
##########
@@ -244,7 +244,8 @@ public static void main(String[] args) throws Exception {
         // Format BookKeeper ledger storage metadata
         if (arguments.existingBkMetadataServiceUri == null && 
arguments.bookieMetadataServiceUri == null) {
             ServerConfiguration bkConf = new ServerConfiguration();
-            bkConf.setMetadataServiceUri("metadata-store:" + 
metadataStoreUrlNoIdentifer);
+            bkConf.setDelimiterParsingDisabled(true);

Review comment:
       If a string with comma delimiter. eg zk1:2181,zk2:2181/test. 
`setMetadataServiceUri ` will get result ["zk1:2181", "zk2:2181/test"]. 
getMetadataServiceUri only return the first part in list zk1:2181.   @eolivelli 
   Bookeeper also has this problem, see 
https://github.com/apache/bookkeeper/issues/2900.
   Without   setDelimiterParsingDisabled,  zk connection string with comma is 
not supported.
   




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