微服务Spring Cloud Eureka 服务端-其他配置(eureka.instance.registry.xxx与eureka.dashboard.xx)

注册中心配置

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

猜你喜欢

转载自my.oschina.net/langxSpirit/blog/1821257