merlimat commented on a change in pull request #13891:
URL: https://github.com/apache/pulsar/pull/13891#discussion_r797866198
##########
File path:
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
##########
@@ -2579,7 +2580,15 @@ public String getBookkeeperMetadataStoreUrl() {
} else {
// Fallback to same metadata service used by broker, adding the
"metadata-store" to specify the BK
// metadata adapter
- return "metadata-store:" + getMetadataStoreUrl();
+ String suffix;
+ if (StringUtils.isNotBlank(metadataStoreUrl)) {
Review comment:
wouldn't we have the same issue here if a user configure
`metadataStoreUrl=my-zk:2181`? Since we're not requiring it even there.
--
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]