CrazyHZM commented on code in PR #14028:
URL: https://github.com/apache/dubbo/pull/14028#discussion_r1556751140


##########
dubbo-remoting/dubbo-remoting-zookeeper-api/src/main/java/org/apache/dubbo/remoting/zookeeper/ZookeeperTransporter.java:
##########
@@ -27,16 +27,14 @@ public interface ZookeeperTransporter {
 
     String CURATOR_5 = "curator5";
 
-    String CURATOR = "curator";
-
     ZookeeperClient connect(URL url);
 
     void destroy();
 
     static ZookeeperTransporter getExtension(ApplicationModel 
applicationModel) {
         ExtensionLoader<ZookeeperTransporter> extensionLoader =
                 
applicationModel.getExtensionLoader(ZookeeperTransporter.class);
-        return isHighVersionCurator() ? 
extensionLoader.getExtension(CURATOR_5) : extensionLoader.getExtension(CURATOR);
+        return extensionLoader.getExtension(CURATOR_5);

Review Comment:
   @Stellar1999 ZookeeperTransporter should be renamed ZookeeperClientManager 
or something else. 
   dubbo-remoting-zookeeper-api should also be incorporated into the curator5 
module.
   



-- 
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: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to