Eureka配置系列:
Eureka 客户端-基本配置 https://my.oschina.net/langxSpirit/blog/1821247
Eureka 客户端-实例配置 https://my.oschina.net/langxSpirit/blog/1821251
Eureka 服务端-基本配置 http://https://my.oschina.net/langxSpirit/blog/1821256
Eureka 服务端-其他配置(本文) https://my.oschina.net/langxSpirit/blog/1821257
注册中心配置
Bean类:org.springframework.cloud.netflix.InstanceRegistryProperties
name (eureka.instance.registry.xxx开头) | defaultValue | description |
default-open-for-traffic-count | 1 | Value used in determining when leases are cancelled, default to 1 for standalone. Should be set to 0 for peer replicated eurekas |
expected-number-of-renews-per-min | 1 |
Dashboard配置
Bean类:org.springframework.cloud.netflix.EurekaDashboardProperties
name (eureka.dashboard.xxx开头) | defaultValue | description |
enabled | true | Flag to enable the Eureka dashboard. Default true. |
path | / | The path to the Eureka dashboard (relative to the servlet path). Defaults to "/". |
by 斯武丶风晴 https://my.oschina.net/langxSpirit