This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Cloud Netflix 4.1.4!spring-doc.cn

Configuration Properties

Below you can find a list of configuration properties.spring-doc.cn

Name Default Description

eureka.client.allow-redirectsspring-doc.cn

falsespring-doc.cn

Indicates whether server can redirect a client request to a backup server/cluster. If set to false, the server will handle the request directly, If set to true, it may send HTTP redirect to the client, with a new server location.spring-doc.cn

eureka.client.availability-zonesspring-doc.cn

Gets the list of availability zones (used in AWS data centers) for the region in which this instance resides. The changes are effective at runtime at the next registry fetch cycle as specified by registryFetchIntervalSeconds.spring-doc.cn

eureka.client.backup-registry-implspring-doc.cn

Gets the name of the implementation which implements BackupRegistry to fetch the registry information as a fallback option for only the first time when the eureka client starts. This may be needed for applications which needs additional resiliency for registry information without which it cannot operate.spring-doc.cn

eureka.client.cache-refresh-executor-exponential-back-off-boundspring-doc.cn

10spring-doc.cn

Cache refresh executor exponential back off related property. It is a maximum multiplier value for retry delay, in case where a sequence of timeouts occurred.spring-doc.cn

eureka.client.cache-refresh-executor-thread-pool-sizespring-doc.cn

2spring-doc.cn

The thread pool size for the cacheRefreshExecutor to initialise with.spring-doc.cn

eureka.client.client-data-acceptspring-doc.cn

EurekaAccept name for client data accept.spring-doc.cn

eureka.client.decoder-namespring-doc.cn

This is a transient config and once the latest codecs are stable, can be removed (as there will only be one).spring-doc.cn

eureka.client.disable-deltaspring-doc.cn

falsespring-doc.cn

Indicates whether the eureka client should disable fetching of delta and should rather resort to getting the full registry information. Note that the delta fetches can reduce the traffic tremendously, because the rate of change with the eureka server is normally much lower than the rate of fetches. The changes are effective at runtime at the next registry fetch cycle as specified by registryFetchIntervalSecondsspring-doc.cn

eureka.client.dollar-replacementspring-doc.cn

_-spring-doc.cn

Get a replacement string for Dollar sign <code>$</code> during serializing/deserializing information in eureka server.spring-doc.cn

eureka.client.enabledspring-doc.cn

truespring-doc.cn

Flag to indicate that the Eureka client is enabled.spring-doc.cn

eureka.client.encoder-namespring-doc.cn

This is a transient config and once the latest codecs are stable, can be removed (as there will only be one).spring-doc.cn

eureka.client.escape-char-replacementspring-doc.cn

__spring-doc.cn

Get a replacement string for underscore sign <code>_</code> during serializing/ deserializing information in eureka server.spring-doc.cn

eureka.client.eureka-connection-idle-timeout-secondsspring-doc.cn

30spring-doc.cn

Indicates how much time (in seconds) that the HTTP connections to eureka server can stay idle before it can be closed. In the AWS environment, it is recommended that the values is 30 seconds or less, since the firewall cleans up the connection information after a few mins leaving the connection hanging in limbo.spring-doc.cn

eureka.client.eureka-server-connect-timeout-secondsspring-doc.cn

5spring-doc.cn

Indicates how long to wait (in seconds) before a connection to eureka server needs to timeout. Note that the connections in the client are pooled by {@link HttpClient} and this setting affects the actual connection creation and also the wait time to get the connection from the pool.spring-doc.cn

eureka.client.eureka-server-d-n-s-namespring-doc.cn

Gets the DNS name to be queried to get the list of eureka servers.This information is not required if the contract returns the service urls by implementing serviceUrls. The DNS mechanism is used when useDnsForFetchingServiceUrls is set to true and the eureka client expects the DNS to configured a certain way so that it can fetch changing eureka servers dynamically. The changes are effective at runtime.spring-doc.cn

eureka.client.eureka-server-portspring-doc.cn

Gets the port to be used to construct the service url to contact eureka server when the list of eureka servers come from the DNS.This information is not required if the contract returns the service urls eurekaServerServiceUrls(String). The DNS mechanism is used when useDnsForFetchingServiceUrls is set to true and the eureka client expects the DNS to configured a certain way so that it can fetch changing eureka servers dynamically. The changes are effective at runtime.spring-doc.cn

eureka.client.eureka-server-read-timeout-secondsspring-doc.cn

8spring-doc.cn

Indicates how long to wait (in seconds) before a read from eureka server needs to timeout.spring-doc.cn

eureka.client.eureka-server-total-connectionsspring-doc.cn

200spring-doc.cn

Gets the total number of connections that is allowed from eureka client to all eureka servers.spring-doc.cn

eureka.client.eureka-server-total-connections-per-hostspring-doc.cn

50spring-doc.cn

Gets the total number of connections that is allowed from eureka client to a eureka server host.spring-doc.cn

eureka.client.eureka-server-u-r-l-contextspring-doc.cn

Gets the URL context to be used to construct the service url to contact eureka server when the list of eureka servers come from the DNS. This information is not required if the contract returns the service urls from eurekaServerServiceUrls. The DNS mechanism is used when useDnsForFetchingServiceUrls is set to true and the eureka client expects the DNS to configured a certain way so that it can fetch changing eureka servers dynamically. The changes are effective at runtime.spring-doc.cn

eureka.client.eureka-service-url-poll-interval-secondsspring-doc.cn

300spring-doc.cn

Indicates how often(in seconds) to poll for changes to eureka server information. Eureka servers could be added or removed and this setting controls how soon the eureka clients should know about it.spring-doc.cn

eureka.client.fetch-registryspring-doc.cn

truespring-doc.cn

Indicates whether this client should fetch eureka registry information from eureka server.spring-doc.cn

eureka.client.fetch-remote-regions-registryspring-doc.cn

Comma separated list of regions for which the eureka registry information will be fetched. It is mandatory to define the availability zones for each of these regions as returned by availabilityZones. Failing to do so, will result in failure of discovery client startup.spring-doc.cn

eureka.client.filter-only-up-instancesspring-doc.cn

truespring-doc.cn

Indicates whether to get the applications after filtering the applications for instances with only InstanceStatus UP states.spring-doc.cn

eureka.client.g-zip-contentspring-doc.cn

truespring-doc.cn

Indicates whether the content fetched from eureka server has to be compressed whenever it is supported by the server. The registry information from the eureka server is compressed for optimum network traffic.spring-doc.cn

eureka.client.healthcheck.enabledspring-doc.cn

truespring-doc.cn

Enables the Eureka health check handler.spring-doc.cn

eureka.client.heartbeat-executor-exponential-back-off-boundspring-doc.cn

10spring-doc.cn

Heartbeat executor exponential back off related property. It is a maximum multiplier value for retry delay, in case where a sequence of timeouts occurred.spring-doc.cn

eureka.client.heartbeat-executor-thread-pool-sizespring-doc.cn

2spring-doc.cn

The thread pool size for the heartbeatExecutor to initialise with.spring-doc.cn

eureka.client.initial-instance-info-replication-interval-secondsspring-doc.cn

40spring-doc.cn

Indicates how long initially (in seconds) to replicate instance info to the eureka server.spring-doc.cn

eureka.client.instance-info-replication-interval-secondsspring-doc.cn

30spring-doc.cn

Indicates how often(in seconds) to replicate instance changes to be replicated to the eureka server.spring-doc.cn

eureka.client.jersey.enabledspring-doc.cn

truespring-doc.cn

Enables the use of JerseyClient for Eureka HTTP Client.spring-doc.cn

eureka.client.log-delta-diffspring-doc.cn

falsespring-doc.cn

Indicates whether to log differences between the eureka server and the eureka client in terms of registry information. Eureka client tries to retrieve only delta changes from eureka server to minimize network traffic. After receiving the deltas, eureka client reconciles the information from the server to verify it has not missed out some information. Reconciliation failures could happen when the client has had network issues communicating to server.If the reconciliation fails, eureka client gets the full registry information. While getting the full registry information, the eureka client can log the differences between the client and the server and this setting controls that. The changes are effective at runtime at the next registry fetch cycle as specified by registryFetchIntervalSecondsrspring-doc.cn

eureka.client.on-demand-update-status-changespring-doc.cn

truespring-doc.cn

If set to true, local status updates via ApplicationInfoManager will trigger on-demand (but rate limited) register/updates to remote eureka servers.spring-doc.cn

eureka.client.orderspring-doc.cn

0spring-doc.cn

Order of the discovery client used by CompositeDiscoveryClient for sorting available clients.spring-doc.cn

eureka.client.prefer-same-zone-eurekaspring-doc.cn

truespring-doc.cn

Indicates whether or not this instance should try to use the eureka server in the same zone for latency and/or other reason. Ideally eureka clients are configured to talk to servers in the same zone The changes are effective at runtime at the next registry fetch cycle as specified by registryFetchIntervalSecondsspring-doc.cn

eureka.client.property-resolverspring-doc.cn

eureka.client.proxy-hostspring-doc.cn

Gets the proxy host to eureka server if any.spring-doc.cn

eureka.client.proxy-passwordspring-doc.cn

Gets the proxy password if any.spring-doc.cn

eureka.client.proxy-portspring-doc.cn

Gets the proxy port to eureka server if any.spring-doc.cn

eureka.client.proxy-user-namespring-doc.cn

Gets the proxy user name if any.spring-doc.cn

eureka.client.refresh.enablespring-doc.cn

truespring-doc.cn

Determines whether the EurekaClient instance can be refreshed or not(If disabled none of the Eureka client properties will be refreshable).spring-doc.cn

eureka.client.regionspring-doc.cn

us-east-1spring-doc.cn

Gets the region (used in AWS datacenters) where this instance resides.spring-doc.cn

eureka.client.register-with-eurekaspring-doc.cn

truespring-doc.cn

Indicates whether or not this instance should register its information with eureka server for discovery by others. In some cases, you do not want your instances to be discovered whereas you just want do discover other instances.spring-doc.cn

eureka.client.registry-fetch-interval-secondsspring-doc.cn

30spring-doc.cn

Indicates how often(in seconds) to fetch the registry information from the eureka server.spring-doc.cn

eureka.client.registry-refresh-single-vip-addressspring-doc.cn

Indicates whether the client is only interested in the registry information for a single VIP.spring-doc.cn

eureka.client.rest-template-timeout.connect-request-timeoutspring-doc.cn

180000spring-doc.cn

eureka.client.rest-template-timeout.connect-timeoutspring-doc.cn

180000spring-doc.cn

Default values are set to 180000, in keeping with {@link RequestConfig} and {@link SocketConfig} defaults.spring-doc.cn

eureka.client.rest-template-timeout.socket-timeoutspring-doc.cn

180000spring-doc.cn

eureka.client.restclient.enabledspring-doc.cn

falsespring-doc.cn

Enables the use of RestClient for Eureka HTTP Client.spring-doc.cn

eureka.client.restclient.timeout.connect-request-timeoutspring-doc.cn

180000spring-doc.cn

eureka.client.restclient.timeout.connect-timeoutspring-doc.cn

180000spring-doc.cn

Default values are set to 180000, in keeping with {@link RequestConfig} and {@link SocketConfig} defaults.spring-doc.cn

eureka.client.restclient.timeout.socket-timeoutspring-doc.cn

180000spring-doc.cn

eureka.client.service-urlspring-doc.cn

Map of availability zone to list of fully qualified URLs to communicate with eureka server. Each value can be a single URL or a comma separated list of alternative locations. Typically the eureka server URLs carry protocol,host,port,context and version information if any. Example: ec2-256-156-243-129.compute-1.amazonaws.com:7001/eureka/ The changes are effective at runtime at the next service url refresh cycle as specified by eurekaServiceUrlPollIntervalSeconds.spring-doc.cn

eureka.client.should-enforce-registration-at-initspring-doc.cn

falsespring-doc.cn

Indicates whether the client should enforce registration during initialization. Defaults to false.spring-doc.cn

eureka.client.should-unregister-on-shutdownspring-doc.cn

truespring-doc.cn

Indicates whether the client should explicitly unregister itself from the remote server on client shutdown.spring-doc.cn

eureka.client.tls.enabledspring-doc.cn

eureka.client.tls.key-passwordspring-doc.cn

eureka.client.tls.key-storespring-doc.cn

eureka.client.tls.key-store-passwordspring-doc.cn

eureka.client.tls.key-store-typespring-doc.cn

eureka.client.tls.trust-storespring-doc.cn

eureka.client.tls.trust-store-passwordspring-doc.cn

eureka.client.tls.trust-store-typespring-doc.cn

eureka.client.use-dns-for-fetching-service-urlsspring-doc.cn

falsespring-doc.cn

Indicates whether the eureka client should use the DNS mechanism to fetch a list of eureka servers to talk to. When the DNS name is updated to have additional servers, that information is used immediately after the eureka client polls for that information as specified in eurekaServiceUrlPollIntervalSeconds. Alternatively, the service urls can be returned serviceUrls, but the users should implement their own mechanism to return the updated list in case of changes. The changes are effective at runtime.spring-doc.cn

eureka.client.webclient.enabledspring-doc.cn

falsespring-doc.cn

Enables the use of WebClient for Eureka HTTP Client.spring-doc.cn

eureka.dashboard.enabledspring-doc.cn

truespring-doc.cn

Flag to enable the Eureka dashboard. Default true.spring-doc.cn

eureka.dashboard.pathspring-doc.cn

/spring-doc.cn

The path to the Eureka dashboard (relative to the servlet path). Defaults to "/".spring-doc.cn

eureka.datacenterspring-doc.cn

defaultspring-doc.cn

Eureka datacenter. Defaults to "default".spring-doc.cn

eureka.environmentspring-doc.cn

testspring-doc.cn

Eureka environment. Defaults to "test".spring-doc.cn

eureka.instance.a-s-g-namespring-doc.cn

Gets the AWS autoscaling group name associated with this instance. This information is specifically used in an AWS environment to automatically put an instance out of service after the instance is launched and it has been disabled for traffic..spring-doc.cn

eureka.instance.app-group-namespring-doc.cn

Get the name of the application group to be registered with eureka.spring-doc.cn

eureka.instance.appnamespring-doc.cn

unknownspring-doc.cn

Get the name of the application to be registered with eureka.spring-doc.cn

eureka.instance.async-client-initializationspring-doc.cn

falsespring-doc.cn

If true the EurekaClient will be initialized asynchronously when the InstanceRegistry bean is created.spring-doc.cn

eureka.instance.data-center-infospring-doc.cn

Returns the data center this instance is deployed. This information is used to get some AWS specific instance information if the instance is deployed in AWS.spring-doc.cn

eureka.instance.default-address-resolution-orderspring-doc.cn

[]spring-doc.cn

eureka.instance.environmentspring-doc.cn

eureka.instance.health-check-urlspring-doc.cn

Gets the absolute health check page URL for this instance. The users can provide the healthCheckUrlPath if the health check page resides in the same instance talking to eureka, else in the cases where the instance is a proxy for some other server, users can provide the full URL. If the full URL is provided it takes precedence. <p> It is normally used for making educated decisions based on the health of the instance - for example, it can be used to determine whether to proceed deployments to an entire farm or stop the deployments without causing further damage. The full URL should follow the format ${eureka.hostname}:7001/ where the value ${eureka.hostname} is replaced at runtime.spring-doc.cn

eureka.instance.health-check-url-pathspring-doc.cn

Gets the relative health check URL path for this instance. The health check page URL is then constructed out of the hostname and the type of communication - secure or unsecure as specified in securePort and nonSecurePort. It is normally used for making educated decisions based on the health of the instance - for example, it can be used to determine whether to proceed deployments to an entire farm or stop the deployments without causing further damage.spring-doc.cn

eureka.instance.home-page-urlspring-doc.cn

Gets the absolute home page URL for this instance. The users can provide the homePageUrlPath if the home page resides in the same instance talking to eureka, else in the cases where the instance is a proxy for some other server, users can provide the full URL. If the full URL is provided it takes precedence. It is normally used for informational purposes for other services to use it as a landing page. The full URL should follow the format ${eureka.hostname}:7001/ where the value ${eureka.hostname} is replaced at runtime.spring-doc.cn

eureka.instance.home-page-url-pathspring-doc.cn

/spring-doc.cn

Gets the relative home page URL Path for this instance. The home page URL is then constructed out of the hostName and the type of communication - secure or unsecure. It is normally used for informational purposes for other services to use it as a landing page.spring-doc.cn

eureka.instance.hostnamespring-doc.cn

The hostname if it can be determined at configuration time (otherwise it will be guessed from OS primitives).spring-doc.cn

eureka.instance.initial-statusspring-doc.cn

upspring-doc.cn

Initial status to register with remote Eureka server.spring-doc.cn

eureka.instance.instance-enabled-onitspring-doc.cn

falsespring-doc.cn

Indicates whether the instance should be enabled for taking traffic as soon as it is registered with eureka. Sometimes the application might need to do some pre-processing before it is ready to take traffic.spring-doc.cn

eureka.instance.instance-idspring-doc.cn

Get the unique Id (within the scope of the appName) of this instance to be registered with eureka.spring-doc.cn

eureka.instance.ip-addressspring-doc.cn

Get the IPAdress of the instance. This information is for academic purposes only as the communication from other instances primarily happen using the information supplied in {@link #getHostName(boolean)}.spring-doc.cn

eureka.instance.lease-expiration-duration-in-secondsspring-doc.cn

90spring-doc.cn

Indicates the time in seconds that the eureka server waits since it received the last heartbeat before it can remove this instance from its view and there by disallowing traffic to this instance. Setting this value too long could mean that the traffic could be routed to the instance even though the instance is not alive. Setting this value too small could mean, the instance may be taken out of traffic because of temporary network glitches.This value to be set to atleast higher than the value specified in leaseRenewalIntervalInSeconds.spring-doc.cn

eureka.instance.lease-renewal-interval-in-secondsspring-doc.cn

30spring-doc.cn

Indicates how often (in seconds) the eureka client needs to send heartbeats to eureka server to indicate that it is still alive. If the heartbeats are not received for the period specified in leaseExpirationDurationInSeconds, eureka server will remove the instance from its view, there by disallowing traffic to this instance. Note that the instance could still not take traffic if it implements HealthCheckCallback and then decides to make itself unavailable.spring-doc.cn

eureka.instance.metadata-mapspring-doc.cn

Gets the metadata name/value pairs associated with this instance. This information is sent to eureka server and can be used by other instances.spring-doc.cn

eureka.instance.metadata-map.weightspring-doc.cn

1spring-doc.cn

The weight of service instance for weighted load balancing.spring-doc.cn

eureka.instance.namespacespring-doc.cn

eurekaspring-doc.cn

Get the namespace used to find properties. Ignored in Spring Cloud.spring-doc.cn

eureka.instance.non-secure-portspring-doc.cn

80spring-doc.cn

Get the non-secure port on which the instance should receive traffic.spring-doc.cn

eureka.instance.non-secure-port-enabledspring-doc.cn

truespring-doc.cn

Indicates whether the non-secure port should be enabled for traffic or not.spring-doc.cn

eureka.instance.prefer-ip-addressspring-doc.cn

falsespring-doc.cn

Flag to say that, when guessing a hostname, the IP address of the server should be used in preference to the hostname reported by the OS.spring-doc.cn

eureka.instance.registry.default-open-for-traffic-countspring-doc.cn

1spring-doc.cn

Value used in determining when leases are cancelled, default to 1 for standalone. Should be set to 0 for peer replicated eurekasspring-doc.cn

eureka.instance.registry.expected-number-of-clients-sending-renewsspring-doc.cn

1spring-doc.cn

eureka.instance.secure-health-check-urlspring-doc.cn

Gets the absolute secure health check page URL for this instance. The users can provide the secureHealthCheckUrl if the health check page resides in the same instance talking to eureka, else in the cases where the instance is a proxy for some other server, users can provide the full URL. If the full URL is provided it takes precedence. <p> It is normally used for making educated decisions based on the health of the instance - for example, it can be used to determine whether to proceed deployments to an entire farm or stop the deployments without causing further damage. The full URL should follow the format ${eureka.hostname}:7001/ where the value ${eureka.hostname} is replaced at runtime.spring-doc.cn

eureka.instance.secure-portspring-doc.cn

443spring-doc.cn

Get the Secure port on which the instance should receive traffic.spring-doc.cn

eureka.instance.secure-port-enabledspring-doc.cn

falsespring-doc.cn

Indicates whether the secure port should be enabled for traffic or not.spring-doc.cn

eureka.instance.secure-virtual-host-namespring-doc.cn

unknownspring-doc.cn

Gets the secure virtual host name defined for this instance. This is typically the way other instance would find this instance by using the secure virtual host name.Think of this as similar to the fully qualified domain name, that the users of your services will need to find this instance.spring-doc.cn

eureka.instance.status-page-urlspring-doc.cn

Gets the absolute status page URL path for this instance. The users can provide the statusPageUrlPath if the status page resides in the same instance talking to eureka, else in the cases where the instance is a proxy for some other server, users can provide the full URL. If the full URL is provided it takes precedence. It is normally used for informational purposes for other services to find about the status of this instance. Users can provide a simple HTML indicating what is the current status of the instance.spring-doc.cn

eureka.instance.status-page-url-pathspring-doc.cn

Gets the relative status page URL path for this instance. The status page URL is then constructed out of the hostName and the type of communication - secure or unsecure as specified in securePort and nonSecurePort. It is normally used for informational purposes for other services to find about the status of this instance. Users can provide a simple HTML indicating what is the current status of the instance.spring-doc.cn

eureka.instance.virtual-host-namespring-doc.cn

unknownspring-doc.cn

Gets the virtual host name defined for this instance. This is typically the way other instance would find this instance by using the virtual host name.Think of this as similar to the fully qualified domain name, that the users of your services will need to find this instance.spring-doc.cn

eureka.server.a-s-g-cache-expiry-timeout-msspring-doc.cn

600000spring-doc.cn

eureka.server.a-s-g-query-timeout-msspring-doc.cn

300spring-doc.cn

eureka.server.a-s-g-update-interval-msspring-doc.cn

300000spring-doc.cn

eureka.server.a-w-s-access-idspring-doc.cn

eureka.server.a-w-s-secret-keyspring-doc.cn

eureka.server.batch-replicationspring-doc.cn

falsespring-doc.cn

eureka.server.binding-strategyspring-doc.cn

eipspring-doc.cn

eureka.server.delta-retention-timer-interval-in-msspring-doc.cn

30000spring-doc.cn

eureka.server.disable-deltaspring-doc.cn

falsespring-doc.cn

eureka.server.disable-delta-for-remote-regionsspring-doc.cn

falsespring-doc.cn

eureka.server.disable-transparent-fallback-to-other-regionspring-doc.cn

falsespring-doc.cn

eureka.server.e-i-p-bind-rebind-retriesspring-doc.cn

3spring-doc.cn

eureka.server.e-i-p-binding-retry-interval-msspring-doc.cn

300000spring-doc.cn

eureka.server.e-i-p-binding-retry-interval-ms-when-unboundspring-doc.cn

60000spring-doc.cn

eureka.server.enable-replicated-request-compressionspring-doc.cn

falsespring-doc.cn

eureka.server.enable-self-preservationspring-doc.cn

truespring-doc.cn

eureka.server.eviction-interval-timer-in-msspring-doc.cn

0spring-doc.cn

eureka.server.expected-client-renewal-interval-secondsspring-doc.cn

30spring-doc.cn

eureka.server.g-zip-content-from-remote-regionspring-doc.cn

truespring-doc.cn

eureka.server.initial-capacity-of-response-cachespring-doc.cn

1000spring-doc.cn

eureka.server.json-codec-namespring-doc.cn

eureka.server.list-auto-scaling-groups-role-namespring-doc.cn

ListAutoScalingGroupsspring-doc.cn

eureka.server.log-identity-headersspring-doc.cn

truespring-doc.cn

eureka.server.max-elements-in-peer-replication-poolspring-doc.cn

10000spring-doc.cn

eureka.server.max-elements-in-status-replication-poolspring-doc.cn

10000spring-doc.cn

eureka.server.max-idle-thread-age-in-minutes-for-peer-replicationspring-doc.cn

15spring-doc.cn

eureka.server.max-idle-thread-in-minutes-age-for-status-replicationspring-doc.cn

10spring-doc.cn

eureka.server.max-threads-for-peer-replicationspring-doc.cn

20spring-doc.cn

eureka.server.max-threads-for-status-replicationspring-doc.cn

1spring-doc.cn

eureka.server.max-time-for-replicationspring-doc.cn

30000spring-doc.cn

eureka.server.metrics.enabledspring-doc.cn

falsespring-doc.cn

Indicates whether the metrics should be enabled for eureka instances.spring-doc.cn

eureka.server.min-available-instances-for-peer-replicationspring-doc.cn

-1spring-doc.cn

eureka.server.min-threads-for-peer-replicationspring-doc.cn

5spring-doc.cn

eureka.server.min-threads-for-status-replicationspring-doc.cn

1spring-doc.cn

eureka.server.my-urlspring-doc.cn

eureka.server.number-of-replication-retriesspring-doc.cn

5spring-doc.cn

eureka.server.peer-eureka-nodes-update-interval-msspring-doc.cn

600000spring-doc.cn

eureka.server.peer-eureka-status-refresh-time-interval-msspring-doc.cn

0spring-doc.cn

eureka.server.peer-node-connect-timeout-msspring-doc.cn

200spring-doc.cn

eureka.server.peer-node-connection-idle-timeout-secondsspring-doc.cn

30spring-doc.cn

eureka.server.peer-node-read-timeout-msspring-doc.cn

200spring-doc.cn

eureka.server.peer-node-total-connectionsspring-doc.cn

1000spring-doc.cn

eureka.server.peer-node-total-connections-per-hostspring-doc.cn

500spring-doc.cn

eureka.server.prime-aws-replica-connectionsspring-doc.cn

truespring-doc.cn

eureka.server.property-resolverspring-doc.cn

eureka.server.rate-limiter-burst-sizespring-doc.cn

10spring-doc.cn

eureka.server.rate-limiter-enabledspring-doc.cn

falsespring-doc.cn

eureka.server.rate-limiter-full-fetch-average-ratespring-doc.cn

100spring-doc.cn

eureka.server.rate-limiter-privileged-clientsspring-doc.cn

eureka.server.rate-limiter-registry-fetch-average-ratespring-doc.cn

500spring-doc.cn

eureka.server.rate-limiter-throttle-standard-clientsspring-doc.cn

falsespring-doc.cn

eureka.server.registry-sync-retriesspring-doc.cn

0spring-doc.cn

eureka.server.registry-sync-retry-wait-msspring-doc.cn

0spring-doc.cn

eureka.server.remote-region-app-whitelistspring-doc.cn

eureka.server.remote-region-connect-timeout-msspring-doc.cn

1000spring-doc.cn

eureka.server.remote-region-connection-idle-timeout-secondsspring-doc.cn

30spring-doc.cn

eureka.server.remote-region-fetch-thread-pool-sizespring-doc.cn

20spring-doc.cn

eureka.server.remote-region-read-timeout-msspring-doc.cn

1000spring-doc.cn

eureka.server.remote-region-registry-fetch-intervalspring-doc.cn

30spring-doc.cn

eureka.server.remote-region-total-connectionsspring-doc.cn

1000spring-doc.cn

eureka.server.remote-region-total-connections-per-hostspring-doc.cn

500spring-doc.cn

eureka.server.remote-region-trust-storespring-doc.cn

eureka.server.remote-region-trust-store-passwordspring-doc.cn

changeitspring-doc.cn

eureka.server.remote-region-urlsspring-doc.cn

eureka.server.remote-region-urls-with-namespring-doc.cn

eureka.server.renewal-percent-thresholdspring-doc.cn

0.85spring-doc.cn

eureka.server.renewal-threshold-update-interval-msspring-doc.cn

900000spring-doc.cn

eureka.server.response-cache-auto-expiration-in-secondsspring-doc.cn

180spring-doc.cn

eureka.server.response-cache-update-interval-msspring-doc.cn

30000spring-doc.cn

eureka.server.retention-time-in-m-s-in-delta-queuespring-doc.cn

180000spring-doc.cn

eureka.server.route53-bind-rebind-retriesspring-doc.cn

3spring-doc.cn

eureka.server.route53-binding-retry-interval-msspring-doc.cn

300000spring-doc.cn

eureka.server.route53-domain-t-t-lspring-doc.cn

30spring-doc.cn

eureka.server.sync-when-timestamp-differsspring-doc.cn

truespring-doc.cn

eureka.server.use-read-only-response-cachespring-doc.cn

truespring-doc.cn

eureka.server.wait-time-in-ms-when-sync-emptyspring-doc.cn

300000spring-doc.cn

eureka.server.xml-codec-namespring-doc.cn

spring.cloud.compatibility-verifier.compatible-boot-versionsspring-doc.cn

3.4.xspring-doc.cn

Default accepted versions for the Spring Boot dependency. You can set {@code x} for the patch version if you don’t want to specify a concrete value. Example: {@code 3.4.x}spring-doc.cn

spring.cloud.compatibility-verifier.enabledspring-doc.cn

falsespring-doc.cn

Enables creation of Spring Cloud compatibility verification.spring-doc.cn

spring.cloud.config.allow-overridespring-doc.cn

truespring-doc.cn

Flag to indicate that {@link #isOverrideSystemProperties() systemPropertiesOverride} can be used. Set to false to prevent users from changing the default accidentally. Default true.spring-doc.cn

spring.cloud.config.initialize-on-context-refreshspring-doc.cn

falsespring-doc.cn

Flag to initialize bootstrap configuration on context refresh event. Default false.spring-doc.cn

spring.cloud.config.override-nonespring-doc.cn

falsespring-doc.cn

Flag to indicate that when {@link #setAllowOverride(boolean) allowOverride} is true, external properties should take lowest priority and should not override any existing property sources (including local config files). Default false. This will only have an effect when using config first bootstrap.spring-doc.cn

spring.cloud.config.override-system-propertiesspring-doc.cn

truespring-doc.cn

Flag to indicate that the external properties should override system properties. Default true.spring-doc.cn

spring.cloud.decrypt-environment-post-processor.enabledspring-doc.cn

truespring-doc.cn

Enable the DecryptEnvironmentPostProcessor.spring-doc.cn

spring.cloud.discovery.client.composite-indicator.enabledspring-doc.cn

truespring-doc.cn

Enables discovery client composite health indicator.spring-doc.cn

spring.cloud.discovery.client.health-indicator.enabledspring-doc.cn

truespring-doc.cn

spring.cloud.discovery.client.health-indicator.include-descriptionspring-doc.cn

falsespring-doc.cn

spring.cloud.discovery.client.health-indicator.use-services-queryspring-doc.cn

truespring-doc.cn

Whether or not the indicator should use {@link DiscoveryClient#getServices} to check its health. When set to {@code false} the indicator instead uses the lighter {@link DiscoveryClient#probe()}. This can be helpful in large deployments where the number of services returned makes the operation unnecessarily heavy.spring-doc.cn

spring.cloud.discovery.client.simple.instancesspring-doc.cn

spring.cloud.discovery.client.simple.local.hostspring-doc.cn

spring.cloud.discovery.client.simple.local.instance-idspring-doc.cn

spring.cloud.discovery.client.simple.local.metadataspring-doc.cn

spring.cloud.discovery.client.simple.local.portspring-doc.cn

0spring-doc.cn

spring.cloud.discovery.client.simple.local.securespring-doc.cn

falsespring-doc.cn

spring.cloud.discovery.client.simple.local.service-idspring-doc.cn

spring.cloud.discovery.client.simple.local.urispring-doc.cn

spring.cloud.discovery.client.simple.orderspring-doc.cn

spring.cloud.discovery.enabledspring-doc.cn

truespring-doc.cn

Enables discovery client health indicators.spring-doc.cn

spring.cloud.features.enabledspring-doc.cn

truespring-doc.cn

Enables the features endpoint.spring-doc.cn

spring.cloud.httpclientfactories.apache.enabledspring-doc.cn

truespring-doc.cn

Enables creation of Apache Http Client factory beans.spring-doc.cn

spring.cloud.httpclientfactories.ok.enabledspring-doc.cn

truespring-doc.cn

Enables creation of OK Http Client factory beans.spring-doc.cn

spring.cloud.hypermedia.refresh.fixed-delayspring-doc.cn

5000spring-doc.cn

spring.cloud.hypermedia.refresh.initial-delayspring-doc.cn

10000spring-doc.cn

spring.cloud.inetutils.default-hostnamespring-doc.cn

localhostspring-doc.cn

The default hostname. Used in case of errors.spring-doc.cn

spring.cloud.inetutils.default-ip-addressspring-doc.cn

127.0.0.1spring-doc.cn

The default IP address. Used in case of errors.spring-doc.cn

spring.cloud.inetutils.ignored-interfacesspring-doc.cn

List of Java regular expressions for network interfaces that will be ignored.spring-doc.cn

spring.cloud.inetutils.preferred-networksspring-doc.cn

List of Java regular expressions for network addresses that will be preferred.spring-doc.cn

spring.cloud.inetutils.timeout-secondsspring-doc.cn

1spring-doc.cn

Timeout, in seconds, for calculating hostname.spring-doc.cn

spring.cloud.inetutils.use-only-site-local-interfacesspring-doc.cn

falsespring-doc.cn

Whether to use only interfaces with site local addresses. See {@link InetAddress#isSiteLocalAddress()} for more details.spring-doc.cn

spring.cloud.loadbalancer.cache.caffeine.specspring-doc.cn

The spec to use to create caches. See CaffeineSpec for more details on the spec format.spring-doc.cn

spring.cloud.loadbalancer.cache.capacityspring-doc.cn

256spring-doc.cn

Initial cache capacity expressed as int.spring-doc.cn

spring.cloud.loadbalancer.cache.enabledspring-doc.cn

truespring-doc.cn

Enables Spring Cloud LoadBalancer caching mechanism.spring-doc.cn

spring.cloud.loadbalancer.cache.ttlspring-doc.cn

35sspring-doc.cn

Time To Live - time counted from writing of the record, after which cache entries are expired, expressed as a {@link Duration}. The property {@link String} has to be in keeping with the appropriate syntax as specified in Spring Boot <code>StringToDurationConverter</code>. @see <a href= "https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/convert/StringToDurationConverter.java">StringToDurationConverter.java</a>spring-doc.cn

spring.cloud.loadbalancer.call-get-with-request-on-delegatesspring-doc.cn

truespring-doc.cn

If this flag is set to {@code true}, {@code ServiceInstanceListSupplier#get(Request request)} method will be implemented to call {@code delegate.get(request)} in classes assignable from {@code DelegatingServiceInstanceListSupplier} that don’t already implement that method, with the exclusion of {@code CachingServiceInstanceListSupplier} and {@code HealthCheckServiceInstanceListSupplier}, which should be placed in the instance supplier hierarchy directly after the supplier performing instance retrieval over the network, before any request-based filtering is done, {@code true} by default.spring-doc.cn

spring.cloud.loadbalancer.clientsspring-doc.cn

spring.cloud.loadbalancer.configurationsspring-doc.cn

defaultspring-doc.cn

Enables a predefined LoadBalancer configuration.spring-doc.cn

spring.cloud.loadbalancer.eager-load.clientsspring-doc.cn

Names of the clients.spring-doc.cn

spring.cloud.loadbalancer.enabledspring-doc.cn

truespring-doc.cn

Enables Spring Cloud LoadBalancer.spring-doc.cn

spring.cloud.loadbalancer.eureka.approximate-zone-from-hostnamespring-doc.cn

falsespring-doc.cn

Used to determine whether we should try to get the zone value from host name.spring-doc.cn

spring.cloud.loadbalancer.health-check.initial-delayspring-doc.cn

0spring-doc.cn

Initial delay value for the HealthCheck scheduler.spring-doc.cn

spring.cloud.loadbalancer.health-check.intervalspring-doc.cn

25sspring-doc.cn

Interval for rerunning the HealthCheck scheduler.spring-doc.cn

spring.cloud.loadbalancer.health-check.intervalspring-doc.cn

25sspring-doc.cn

Interval for rerunning the HealthCheck scheduler.spring-doc.cn

spring.cloud.loadbalancer.health-check.pathspring-doc.cn

Path at which the health-check request should be made. Can be set up per serviceId. A default value can be set up as well. If none is set up, /actuator/health will be used.spring-doc.cn

spring.cloud.loadbalancer.health-check.portspring-doc.cn

Path at which the health-check request should be made. If none is set, the port under which the requested service is available at the service instance.spring-doc.cn

spring.cloud.loadbalancer.health-check.refetch-instancesspring-doc.cn

falsespring-doc.cn

Indicates whether the instances should be refetched by the HealthCheckServiceInstanceListSupplier. This can be used if the instances can be updated and the underlying delegate does not provide an ongoing flux.spring-doc.cn

spring.cloud.loadbalancer.health-check.refetch-instances-intervalspring-doc.cn

25sspring-doc.cn

Interval for refetching available service instances.spring-doc.cn

spring.cloud.loadbalancer.health-check.repeat-health-checkspring-doc.cn

truespring-doc.cn

Indicates whether health checks should keep repeating. It might be useful to set it to false if periodically refetching the instances, as every refetch will also trigger a healthcheck.spring-doc.cn

spring.cloud.loadbalancer.health-check.update-results-listspring-doc.cn

truespring-doc.cn

Indicates whether the {@code healthCheckFlux} should emit on each alive {@link ServiceInstance} that has been retrieved. If set to {@code false}, the entire alive instances sequence is first collected into a list and only then emitted.spring-doc.cn

spring.cloud.loadbalancer.hintspring-doc.cn

Allows setting the value of <code>hint</code> that is passed on to the LoadBalancer request and can subsequently be used in {@link ReactiveLoadBalancer} implementations.spring-doc.cn

spring.cloud.loadbalancer.hint-header-namespring-doc.cn

X-SC-LB-Hintspring-doc.cn

Allows setting the name of the header used for passing the hint for hint-based service instance filtering.spring-doc.cn

spring.cloud.loadbalancer.retry.avoid-previous-instancespring-doc.cn

truespring-doc.cn

Enables wrapping ServiceInstanceListSupplier beans with RetryAwareServiceInstanceListSupplier if Spring-Retry is in the classpath.spring-doc.cn

spring.cloud.loadbalancer.retry.backoff.enabledspring-doc.cn

falsespring-doc.cn

Indicates whether Reactor Retry backoffs should be applied.spring-doc.cn

spring.cloud.loadbalancer.retry.backoff.jitterspring-doc.cn

0.5spring-doc.cn

Used to set RetryBackoffSpec.jitter.spring-doc.cn

spring.cloud.loadbalancer.retry.backoff.max-backoffspring-doc.cn

Long.MAX msspring-doc.cn

Used to set RetryBackoffSpec.maxBackoff.spring-doc.cn

spring.cloud.loadbalancer.retry.backoff.min-backoffspring-doc.cn

5 msspring-doc.cn

Used to set RetryBackoffSpec#minBackoff.spring-doc.cn

spring.cloud.loadbalancer.retry.enabledspring-doc.cn

truespring-doc.cn

Enables LoadBalancer retries.spring-doc.cn

spring.cloud.loadbalancer.retry.max-retries-on-next-service-instancespring-doc.cn

1spring-doc.cn

Number of retries to be executed on the next ServiceInstance. A ServiceInstance is chosen before each retry call.spring-doc.cn

spring.cloud.loadbalancer.retry.max-retries-on-same-service-instancespring-doc.cn

0spring-doc.cn

Number of retries to be executed on the same ServiceInstance.spring-doc.cn

spring.cloud.loadbalancer.retry.retry-on-all-exceptionsspring-doc.cn

falsespring-doc.cn

Indicates retries should be attempted for all exceptions, not only those specified in retryableExceptions.spring-doc.cn

spring.cloud.loadbalancer.retry.retry-on-all-operationsspring-doc.cn

falsespring-doc.cn

Indicates retries should be attempted on operations other than HttpMethod.GET.spring-doc.cn

spring.cloud.loadbalancer.retry.retryable-exceptionsspring-doc.cn

{}spring-doc.cn

A Set of Throwable classes that should trigger a retry.spring-doc.cn

spring.cloud.loadbalancer.retry.retryable-status-codesspring-doc.cn

{}spring-doc.cn

A Set of status codes that should trigger a retry.spring-doc.cn

spring.cloud.loadbalancer.service-discovery.timeoutspring-doc.cn

String representation of Duration of the timeout for calls to service discovery.spring-doc.cn

spring.cloud.loadbalancer.stats.micrometer.enabledspring-doc.cn

falsespring-doc.cn

Enables Spring Cloud LoadBalancer Micrometer stats.spring-doc.cn

spring.cloud.loadbalancer.sticky-session.add-service-instance-cookiespring-doc.cn

falsespring-doc.cn

Indicates whether a cookie with the newly selected instance should be added by LoadBalancer.spring-doc.cn

spring.cloud.loadbalancer.sticky-session.instance-id-cookie-namespring-doc.cn

sc-lb-instance-idspring-doc.cn

The name of the cookie holding the preferred instance id.spring-doc.cn

spring.cloud.loadbalancer.subset.instance-idspring-doc.cn

Instance id of deterministic subsetting. If not set, {@link IdUtils#getDefaultInstanceId(PropertyResolver)} will be used.spring-doc.cn

spring.cloud.loadbalancer.subset.sizespring-doc.cn

100spring-doc.cn

Max subset size of deterministic subsetting.spring-doc.cn

spring.cloud.loadbalancer.x-forwarded.enabledspring-doc.cn

falsespring-doc.cn

To Enable X-Forwarded Headers.spring-doc.cn

spring.cloud.loadbalancer.zonespring-doc.cn

Spring Cloud LoadBalancer zone.spring-doc.cn

spring.cloud.refresh.additional-property-sources-to-retainspring-doc.cn

Additional property sources to retain during a refresh. Typically only system property sources are retained. This property allows property sources, such as property sources created by EnvironmentPostProcessors to be retained as well.spring-doc.cn

spring.cloud.refresh.enabledspring-doc.cn

truespring-doc.cn

Enables autoconfiguration for the refresh scope and associated features.spring-doc.cn

spring.cloud.refresh.extra-refreshablespring-doc.cn

truespring-doc.cn

Additional class names for beans to post process into refresh scope.spring-doc.cn

spring.cloud.refresh.never-refreshablespring-doc.cn

truespring-doc.cn

Comma separated list of class names for beans to never be refreshed or rebound.spring-doc.cn

spring.cloud.refresh.on-restart.enabledspring-doc.cn

truespring-doc.cn

Enable refreshing context on start.spring-doc.cn

spring.cloud.service-registry.auto-registration.enabledspring-doc.cn

truespring-doc.cn

Whether service auto-registration is enabled. Defaults to true.spring-doc.cn

spring.cloud.service-registry.auto-registration.fail-fastspring-doc.cn

falsespring-doc.cn

Whether startup fails if there is no AutoServiceRegistration. Defaults to false.spring-doc.cn

spring.cloud.service-registry.auto-registration.register-managementspring-doc.cn

truespring-doc.cn

Whether to register the management as a service. Defaults to true.spring-doc.cn

spring.cloud.util.enabledspring-doc.cn

truespring-doc.cn

Enables creation of Spring Cloud utility beans.spring-doc.cn