SpringCloud eureka迁移
SpringBoot eureka迁移 从1.5.14版本迁移至SpringBoot2.x版本
spring:
security:
user:
name: ******
password: *********
eureka:
client:
healthcheck:
enabled: true
serviceUrl:
#defaultZone: http://spring-cloud-eureka-server1.local/eureka/,http://spring-cloud-eureka-server2.local/eureka/
defaultZone: http://${ spring.security.user.name}:${ spring.security.user.password}@eureka-1-staging:8765/eureka/,http://${ spring.security.user.name}:${ spring.security.user.password}@eureka-2-staging:8765/eureka/
hystrix:
command:
default:
execution:
timeout:
enabled: true
isolation:
thread:
timeoutInMilliseconds: 25000
ribbon:
ReadTimeout: 5000
ConnectTimeout: 5000
MaxAutoRetries: 0
MaxAutoRetriesNextServer: 1
还没有评论,来说两句吧...