springcloudconfig配置文件
作者:互联网
server.port: 9903 spring: application.name: read-service cloud.config: discovery: enabled: true serviceId: config-server # 重试机制 开启 fail-fast: true # 重试机制 retry: initialInterval: 2000 # 重试间隔 maxAttempts: 30 # 最大重试次数 mvc.servlet.load-on-startup: 1 eureka: client: serviceUrl: defaultZone: ${EUREKA_URI:http://localhost:9001/eureka} registryFetchIntervalSeconds: 1 instance: leaseRenewalIntervalInSeconds: 1 #preferIpAddress: true
标签:配置文件,true,eureka,重试,springcloudconfig,server,config 来源: https://blog.csdn.net/lu1171901273/article/details/120460256