enable | enable | default |
---|---|---|
enabled | Enable Eureka client | true |
registryFetchIntervalSeconds | Interval description for obtaining registration information from the Eureka server, in seconds | 30 |
instanceInfoReplicationIntervalSeconds | The interval between updating instance information changes to the Eureka server, in seconds | 30 |
initialInstanceInfoReplicationIntervalSeconds | The interval between initializing instance information and Eureka server, in seconds | 40 |
eurekaServiceUrlPollIntervalSeconds | The interval for polling the Eureka server for address changes, in seconds. When we cooperate with Spring Cloud Config to dynamically refresh Eureka's serviceURL address, we need to pay attention to this parameter | 300 |
eurekaServerReadTimeoutSeconds | Timeout for reading Eureka Server information, in seconds | 8 |
eurekaServerConnectTimeoutSeconds | Timeout for connecting to Eureka Server, in seconds | 5 |
eurekaServerTotalConnections | The total number of connections from Eureka clients to all Eureka servers | 200 |
eurekaServerTotalConnectionsPerHost | The total number of connections from Eureka clients to each Eureka server host | 50 |
eurekaConnectionIdleTimeoutSeconds | The idle closing time of the Eureka server connection, in seconds | 30 |
heartbeatExecutorThreadPoolSize | The number of initialization threads for the heartbeat connection pool | 2 |
heartbeatExecutorExponentialBackOffBound | Maximum multiplier value for heartbeat timeout retry delay time | 10 |
cacheRefreshExecutorExponentialBackOffBound | Maximum multiplier value for cache flush retry delay events | 10 |
cacheRefreshExecutorThreadPoolSize | Number of initialization threads for cache refresh thread delay time | 2 |
useDnsForFetchingServiceUrls | Use DNS to get the serviceUrl of the Eureka server | false |
registerWithEureka | Whether to register its own instance information with the Eureka server | true |
preferSameZoneEureka | Whether to prefer to use the Eureka server in the same Zone | true |
filterOnlyUpInstances | Whether to filter when getting an instance, only keep the instance in the UP state | true |
fetchRegistry | Whether to obtain registration information from the Eureka server | true |
Note: In the org.springframework.cloud.netflix.eureka.EurekaClientConfigBean class, you can view the default values of each parameter.