首页 > 代码库 > Spring Cloud

Spring Cloud

SpringBoot默认配置文件位置为src/main/resources/application.properties

YAML将属性加载到内存中保存的时候是有序的

 

eureka.client.register-with-eureka=false#不注册到注册中心
eureka.client.fetch-registry=false#不从注册中心获取注册信息

 

Spring Cloud