gaozhangmin commented on a change in pull request #14384:
URL: https://github.com/apache/pulsar/pull/14384#discussion_r814915223
##########
File path:
pulsar-package-management/bookkeeper-storage/src/main/java/org/apache/pulsar/packages/management/storage/bookkeeper/BookKeeperPackagesStorage.java
##########
@@ -92,12 +93,14 @@ private URI initializeDlogNamespace() throws IOException {
ledgersRootPath = metadataServiceUri.getPath();
} else {
ledgersRootPath =
configuration.getPackagesManagementLedgerRootPath();
- ledgersStoreServers = configuration.getZookeeperServers();
+ ledgersStoreServers = configuration.getMetadataStoreUrl();
+ if (ledgersStoreServers.startsWith(ZK_SCHEME_IDENTIFIER)) {
Review comment:
If you want support other protocols, you should config
`bookkeeperMetadataServiceUri`. metadataStoreUrl in
``BookKeeperPackagesStorageConfiguration is copied from broker config. we
cannot change the `metadataStoreUrl` in broker config. @nicoloboschi
--
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]