springcloud禁用动注册正在运行的服务

@EnableDiscoveryClient(autoRegister=false)
或者在配置文件里
spring.cloud.service-registry.auto-registration.enabled=false

原文地址:https://www.cnblogs.com/shamo89/p/7918579.html