优化开发eureka配置

This commit is contained in:
冷冷 2018-03-25 21:57:25 +08:00
parent 6fa53f0c99
commit bd29e94bb2
10 changed files with 10 additions and 1 deletions

View File

@ -23,6 +23,7 @@ eureka:
client:
serviceUrl:
defaultZone: http://pig:gip6666@localhost:1025/eureka
registry-fetch-interval-seconds: 10
---
spring:

View File

@ -22,6 +22,7 @@ eureka:
client:
serviceUrl:
defaultZone: http://pig:gip6666@localhost:1025/eureka
registry-fetch-interval-seconds: 10
---
spring:

View File

@ -17,7 +17,7 @@ eureka:
fetch-registry: false
register-with-eureka: false
serviceUrl:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
instance:
hostname: localhost
server: #配置属性,但由于 Eureka 自我保护模式以及心跳周期长的原因,经常会遇到 Eureka Server 不剔除已关停的节点的问题

View File

@ -22,6 +22,7 @@ eureka:
client:
serviceUrl:
defaultZone: http://pig:gip6666@localhost:1025/eureka
registry-fetch-interval-seconds: 10
#认证服务器地址
security:
auth:

View File

@ -22,6 +22,7 @@ eureka:
client:
serviceUrl:
defaultZone: http://pig:gip6666@localhost:1025/eureka
registry-fetch-interval-seconds: 10
---
spring:

View File

@ -22,6 +22,7 @@ eureka:
client:
serviceUrl:
defaultZone: http://pig:gip6666@localhost:1025/eureka
registry-fetch-interval-seconds: 10
---
spring:

View File

@ -23,6 +23,7 @@ eureka:
client:
serviceUrl:
defaultZone: http://pig:gip6666@localhost:1025/eureka
registry-fetch-interval-seconds: 10
---
spring:

View File

@ -22,6 +22,7 @@ eureka:
client:
serviceUrl:
defaultZone: http://pig:gip6666@localhost:1025/eureka
registry-fetch-interval-seconds: 10
---
spring:

View File

@ -23,6 +23,7 @@ eureka:
client:
serviceUrl:
defaultZone: http://pig:gip6666@localhost:1025/eureka
registry-fetch-interval-seconds: 10
---
spring:

View File

@ -23,6 +23,7 @@ eureka:
client:
serviceUrl:
defaultZone: http://pig:gip6666@localhost:1025/eureka
registry-fetch-interval-seconds: 10
---
spring: