完整错误:
Current application will subscribe all services(size:9) in registry, a lot of memory and CPU cycles may be used, thus it's strongly recommend you using the externalized property 'dubbo.cloud.subscribed-services' to specify the services
报错原因:这是个警告,提示当前应用订阅服务是缺省配置,会占用过多资源
解决:yml文件配置一下需要订阅服务
dubbo:
cloud:
subscribed-services: 'service1,service2'#配置订阅服务多个服务用,隔开,不配置默认订阅注册中心所有服务
注:如果没配置订阅服务,无法进行服务间调用