Authored by qinchao

打印日志

... ... @@ -322,6 +322,8 @@ public class ServiceCompare {
List<String> serviceInstances = client.getChildren().forPath(servicePath);
DEBUG.error(" zkregistercloud{} service{}, serviceInstances {} ", net, service, serviceInstances);
for (String serviceInstance : serviceInstances) {
String serviceContent = new String(client.getData().forPath(ZKPaths.makePath(servicePath, serviceInstance)));
... ...