nodece commented on code in PR #19208:
URL: https://github.com/apache/pulsar/pull/19208#discussion_r1071861855


##########
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/MetadataStoreFactoryImpl.java:
##########
@@ -45,19 +63,39 @@ public static MetadataStoreExtended createExtended(String 
metadataURL, MetadataS
     private static MetadataStore newInstance(String metadataURL, 
MetadataStoreConfig metadataStoreConfig,
                                              boolean enableSessionWatcher)
             throws MetadataStoreException {
+        MetadataStoreProvider provider = findProvider(metadataURL);

Review Comment:
   I suggest we should load providers here, and then find the provider by 
giving the metadataURL.



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