Merge pull request #97 from 3ho/main

feat[net]: get zookeeper path
This commit is contained in:
godotg
2024-04-01 09:59:54 +08:00
committed by GitHub
2 changed files with 5 additions and 0 deletions
@@ -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;
}
}