@SpringBootApplication
spring.application.name=config-server
server.port=7001
# git管理配置
#spring.cloud.config.server.git.uri=http://git.oschina.net/didispace/SpringBoot-Learning/
#spring.cloud.config.server.git.searchPaths=Chapter9-1-4/config-repo
#spring.cloud.config.server.git.username=username
#spring.cloud.config.server.git.password=password
spring.profiles.active=native
#spring.cloud.config.server.native.searchLocations=file:F:/properties/
思考:
1、config修改配置后如何不需要重启
2、客户端在config配置更新后如何感知,怎么做到不重启
3、config高可用方案如何做,高可用方案如何保证数据一致性