new ips(1) service: DEFAULT_GROUP@@leadnews-app-gateway@@DEFAULT -> [{"instanceId":"192.168.31.240#51601#DEFAULT#DEFAULT_GROUP@@leadnews-app-gateway","ip":"192.168.31.240","port":51601,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@leadnews-app-gateway","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}]
时间: 2023-06-28 12:14:29 浏览: 303
JFObjectMapping:对象到 JSONNSDictionary 映射框架
这段日志是Nacos注册中心返回的一个服务实例的信息。可以看到,该服务实例的服务名为`DEFAULT_GROUP@@leadnews-app-gateway`,实例ID为`192.168.31.240#51601#DEFAULT#DEFAULT_GROUP@@leadnews-app-gateway`,IP地址为`192.168.31.240`,端口号为`51601`,权重为`1.0`,健康状态为`true`,启用状态为`true`,是一个临时实例。
除此之外,还有一些元数据信息,如`preserved.register.source`用于标识该服务实例的注册来源。实例心跳间隔为`5000`毫秒,实例心跳超时时间为`15000`毫秒,IP删除时间为`30000`毫秒。
阅读全文