feat[net]: get zookeeper path

This commit is contained in:
xiaorenping committed 2024-03-30 22:35:59 +08:00
1 parent e7a9ad3054
commit a10dca9f58
2 files changed
+5

No files matched your search

@@ -55,4 +55,5 @@ public interface IRegistry {
void shutdown();
String getRootPath();
}
@@ -755,4 +755,8 @@ public class ZookeeperRegistry implements IRegistry {
return StringUtils.format("[path:{}] [stat:{}] [dataSize:{}]", childData.getPath(), childData.getStat(), childData.getData().length);
}
@Override
public String getRootPath() {
return rootPath;
}
}