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! |
Configuration Properties
Below you can find a list of configuration properties.
Name | Default | Description |
---|---|---|
eureka.client.allow-redirects |
|
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. |
eureka.client.availability-zones |
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. |
|
eureka.client.backup-registry-impl |
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. |
|
eureka.client.cache-refresh-executor-exponential-back-off-bound |
|
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. |
eureka.client.cache-refresh-executor-thread-pool-size |
|
The thread pool size for the cacheRefreshExecutor to initialise with. |
eureka.client.client-data-accept |
EurekaAccept name for client data accept. |
|
eureka.client.decoder-name |
This is a transient config and once the latest codecs are stable, can be removed (as there will only be one). |
|
eureka.client.disable-delta |
|
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 registryFetchIntervalSeconds |
eureka.client.dollar-replacement |
|
Get a replacement string for Dollar sign <code>$</code> during serializing/deserializing information in eureka server. |
eureka.client.enabled |
|
Flag to indicate that the Eureka client is enabled. |
eureka.client.encoder-name |
This is a transient config and once the latest codecs are stable, can be removed (as there will only be one). |
|
eureka.client.escape-char-replacement |
|
Get a replacement string for underscore sign <code>_</code> during serializing/ deserializing information in eureka server. |
eureka.client.eureka-connection-idle-timeout-seconds |
|
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. |
eureka.client.eureka-server-connect-timeout-seconds |
|
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. |
eureka.client.eureka-server-d-n-s-name |
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. |
|
eureka.client.eureka-server-port |
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. |
|
eureka.client.eureka-server-read-timeout-seconds |
|
Indicates how long to wait (in seconds) before a read from eureka server needs to timeout. |
eureka.client.eureka-server-total-connections |
|
Gets the total number of connections that is allowed from eureka client to all eureka servers. |
eureka.client.eureka-server-total-connections-per-host |
|
Gets the total number of connections that is allowed from eureka client to a eureka server host. |
eureka.client.eureka-server-u-r-l-context |
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. |
|
eureka.client.eureka-service-url-poll-interval-seconds |
|
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. |
eureka.client.fetch-registry |
|
Indicates whether this client should fetch eureka registry information from eureka server. |
eureka.client.fetch-remote-regions-registry |
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. |
|
eureka.client.filter-only-up-instances |
|
Indicates whether to get the applications after filtering the applications for instances with only InstanceStatus UP states. |
eureka.client.g-zip-content |
|
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. |
eureka.client.healthcheck.enabled |
|
Enables the Eureka health check handler. |
eureka.client.heartbeat-executor-exponential-back-off-bound |
|
Heartbeat executor exponential back off related property. It is a maximum multiplier value for retry delay, in case where a sequence of timeouts occurred. |
eureka.client.heartbeat-executor-thread-pool-size |
|
The thread pool size for the heartbeatExecutor to initialise with. |
eureka.client.initial-instance-info-replication-interval-seconds |
|
Indicates how long initially (in seconds) to replicate instance info to the eureka server. |
eureka.client.instance-info-replication-interval-seconds |
|
Indicates how often(in seconds) to replicate instance changes to be replicated to the eureka server. |
eureka.client.jersey.enabled |
|
Enables the use of JerseyClient for Eureka HTTP Client. |
eureka.client.log-delta-diff |
|
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 registryFetchIntervalSecondsr |
eureka.client.on-demand-update-status-change |
|
If set to true, local status updates via ApplicationInfoManager will trigger on-demand (but rate limited) register/updates to remote eureka servers. |
eureka.client.order |
|
Order of the discovery client used by |
eureka.client.prefer-same-zone-eureka |
|
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 registryFetchIntervalSeconds |
eureka.client.property-resolver |
||
eureka.client.proxy-host |
Gets the proxy host to eureka server if any. |
|
eureka.client.proxy-password |
Gets the proxy password if any. |
|
eureka.client.proxy-port |
Gets the proxy port to eureka server if any. |
|
eureka.client.proxy-user-name |
Gets the proxy user name if any. |
|
eureka.client.refresh.enable |
|
Determines whether the EurekaClient instance can be refreshed or not(If disabled none of the Eureka client properties will be refreshable). |
eureka.client.region |
|
Gets the region (used in AWS datacenters) where this instance resides. |
eureka.client.register-with-eureka |
|
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. |
eureka.client.registry-fetch-interval-seconds |
|
Indicates how often(in seconds) to fetch the registry information from the eureka server. |
eureka.client.registry-refresh-single-vip-address |
Indicates whether the client is only interested in the registry information for a single VIP. |
|
eureka.client.rest-template-timeout.connect-request-timeout |
|
|
eureka.client.rest-template-timeout.connect-timeout |
|
Default values are set to 180000, in keeping with {@link RequestConfig} and {@link SocketConfig} defaults. |
eureka.client.rest-template-timeout.socket-timeout |
|
|
eureka.client.restclient.enabled |
|
Enables the use of RestClient for Eureka HTTP Client. |
eureka.client.restclient.timeout.connect-request-timeout |
|
|
eureka.client.restclient.timeout.connect-timeout |
|
Default values are set to 180000, in keeping with {@link RequestConfig} and {@link SocketConfig} defaults. |
eureka.client.restclient.timeout.socket-timeout |
|
|
eureka.client.service-url |
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. |
|
eureka.client.should-enforce-registration-at-init |
|
Indicates whether the client should enforce registration during initialization. Defaults to false. |
eureka.client.should-unregister-on-shutdown |
|
Indicates whether the client should explicitly unregister itself from the remote server on client shutdown. |
eureka.client.tls.enabled |
||
eureka.client.tls.key-password |
||
eureka.client.tls.key-store |
||
eureka.client.tls.key-store-password |
||
eureka.client.tls.key-store-type |
||
eureka.client.tls.trust-store |
||
eureka.client.tls.trust-store-password |
||
eureka.client.tls.trust-store-type |
||
eureka.client.use-dns-for-fetching-service-urls |
|
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. |
eureka.client.webclient.enabled |
|
Enables the use of WebClient for Eureka HTTP Client. |
eureka.dashboard.enabled |
|
Flag to enable the Eureka dashboard. Default true. |
eureka.dashboard.path |
|
The path to the Eureka dashboard (relative to the servlet path). Defaults to "/". |
eureka.datacenter |
|
Eureka datacenter. Defaults to "default". |
eureka.environment |
|
Eureka environment. Defaults to "test". |
eureka.instance.a-s-g-name |
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.. |
|
eureka.instance.app-group-name |
Get the name of the application group to be registered with eureka. |
|
eureka.instance.appname |
|
Get the name of the application to be registered with eureka. |
eureka.instance.async-client-initialization |
|
If true the EurekaClient will be initialized asynchronously when the InstanceRegistry bean is created. |
eureka.instance.data-center-info |
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. |
|
eureka.instance.default-address-resolution-order |
|
|
eureka.instance.environment |
||
eureka.instance.health-check-url |
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. |
|
eureka.instance.health-check-url-path |
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. |
|
eureka.instance.home-page-url |
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. |
|
eureka.instance.home-page-url-path |
|
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. |
eureka.instance.hostname |
The hostname if it can be determined at configuration time (otherwise it will be guessed from OS primitives). |
|
eureka.instance.initial-status |
|
Initial status to register with remote Eureka server. |
eureka.instance.instance-enabled-onit |
|
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. |
eureka.instance.instance-id |
Get the unique Id (within the scope of the appName) of this instance to be registered with eureka. |
|
eureka.instance.ip-address |
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)}. |
|
eureka.instance.lease-expiration-duration-in-seconds |
|
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. |
eureka.instance.lease-renewal-interval-in-seconds |
|
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. |
eureka.instance.metadata-map |
Gets the metadata name/value pairs associated with this instance. This information is sent to eureka server and can be used by other instances. |
|
eureka.instance.metadata-map.weight |
|
The weight of service instance for weighted load balancing. |
eureka.instance.namespace |
|
Get the namespace used to find properties. Ignored in Spring Cloud. |
eureka.instance.non-secure-port |
|
Get the non-secure port on which the instance should receive traffic. |
eureka.instance.non-secure-port-enabled |
|
Indicates whether the non-secure port should be enabled for traffic or not. |
eureka.instance.prefer-ip-address |
|
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. |
eureka.instance.registry.default-open-for-traffic-count |
|
Value used in determining when leases are cancelled, default to 1 for standalone. Should be set to 0 for peer replicated eurekas |
eureka.instance.registry.expected-number-of-clients-sending-renews |
|
|
eureka.instance.secure-health-check-url |
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. |
|
eureka.instance.secure-port |
|
Get the Secure port on which the instance should receive traffic. |
eureka.instance.secure-port-enabled |
|
Indicates whether the secure port should be enabled for traffic or not. |
eureka.instance.secure-virtual-host-name |
|
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. |
eureka.instance.status-page-url |
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. |
|
eureka.instance.status-page-url-path |
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. |
|
eureka.instance.virtual-host-name |
|
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. |
eureka.server.a-s-g-cache-expiry-timeout-ms |
|
|
eureka.server.a-s-g-query-timeout-ms |
|
|
eureka.server.a-s-g-update-interval-ms |
|
|
eureka.server.a-w-s-access-id |
||
eureka.server.a-w-s-secret-key |
||
eureka.server.batch-replication |
|
|
eureka.server.binding-strategy |
|
|
eureka.server.delta-retention-timer-interval-in-ms |
|
|
eureka.server.disable-delta |
|
|
eureka.server.disable-delta-for-remote-regions |
|
|
eureka.server.disable-transparent-fallback-to-other-region |
|
|
eureka.server.e-i-p-bind-rebind-retries |
|
|
eureka.server.e-i-p-binding-retry-interval-ms |
|
|
eureka.server.e-i-p-binding-retry-interval-ms-when-unbound |
|
|
eureka.server.enable-replicated-request-compression |
|
|
eureka.server.enable-self-preservation |
|
|
eureka.server.eviction-interval-timer-in-ms |
|
|
eureka.server.expected-client-renewal-interval-seconds |
|
|
eureka.server.g-zip-content-from-remote-region |
|
|
eureka.server.initial-capacity-of-response-cache |
|
|
eureka.server.json-codec-name |
||
eureka.server.list-auto-scaling-groups-role-name |
|
|
eureka.server.log-identity-headers |
|
|
eureka.server.max-elements-in-peer-replication-pool |
|
|
eureka.server.max-elements-in-status-replication-pool |
|
|
eureka.server.max-idle-thread-age-in-minutes-for-peer-replication |
|
|
eureka.server.max-idle-thread-in-minutes-age-for-status-replication |
|
|
eureka.server.max-threads-for-peer-replication |
|
|
eureka.server.max-threads-for-status-replication |
|
|
eureka.server.max-time-for-replication |
|
|
eureka.server.metrics.enabled |
|
Indicates whether the metrics should be enabled for eureka instances. |
eureka.server.min-available-instances-for-peer-replication |
|
|
eureka.server.min-threads-for-peer-replication |
|
|
eureka.server.min-threads-for-status-replication |
|
|
eureka.server.my-url |
||
eureka.server.number-of-replication-retries |
|
|
eureka.server.peer-eureka-nodes-update-interval-ms |
|
|
eureka.server.peer-eureka-status-refresh-time-interval-ms |
|
|
eureka.server.peer-node-connect-timeout-ms |
|
|
eureka.server.peer-node-connection-idle-timeout-seconds |
|
|
eureka.server.peer-node-read-timeout-ms |
|
|
eureka.server.peer-node-total-connections |
|
|
eureka.server.peer-node-total-connections-per-host |
|
|
eureka.server.prime-aws-replica-connections |
|
|
eureka.server.property-resolver |
||
eureka.server.rate-limiter-burst-size |
|
|
eureka.server.rate-limiter-enabled |
|
|
eureka.server.rate-limiter-full-fetch-average-rate |
|
|
eureka.server.rate-limiter-privileged-clients |
||
eureka.server.rate-limiter-registry-fetch-average-rate |
|
|
eureka.server.rate-limiter-throttle-standard-clients |
|
|
eureka.server.registry-sync-retries |
|
|
eureka.server.registry-sync-retry-wait-ms |
|
|
eureka.server.remote-region-app-whitelist |
||
eureka.server.remote-region-connect-timeout-ms |
|
|
eureka.server.remote-region-connection-idle-timeout-seconds |
|
|
eureka.server.remote-region-fetch-thread-pool-size |
|
|
eureka.server.remote-region-read-timeout-ms |
|
|
eureka.server.remote-region-registry-fetch-interval |
|
|
eureka.server.remote-region-total-connections |
|
|
eureka.server.remote-region-total-connections-per-host |
|
|
eureka.server.remote-region-trust-store |
||
eureka.server.remote-region-trust-store-password |
|
|
eureka.server.remote-region-urls |
||
eureka.server.remote-region-urls-with-name |
||
eureka.server.renewal-percent-threshold |
|
|
eureka.server.renewal-threshold-update-interval-ms |
|
|
eureka.server.response-cache-auto-expiration-in-seconds |
|
|
eureka.server.response-cache-update-interval-ms |
|
|
eureka.server.retention-time-in-m-s-in-delta-queue |
|
|
eureka.server.route53-bind-rebind-retries |
|
|
eureka.server.route53-binding-retry-interval-ms |
|
|
eureka.server.route53-domain-t-t-l |
|
|
eureka.server.sync-when-timestamp-differs |
|
|
eureka.server.use-read-only-response-cache |
|
|
eureka.server.wait-time-in-ms-when-sync-empty |
|
|
eureka.server.xml-codec-name |
||
spring.cloud.compatibility-verifier.compatible-boot-versions |
|
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.cloud.compatibility-verifier.enabled |
|
Enables creation of Spring Cloud compatibility verification. |
spring.cloud.config.allow-override |
|
Flag to indicate that {@link #isOverrideSystemProperties() systemPropertiesOverride} can be used. Set to false to prevent users from changing the default accidentally. Default true. |
spring.cloud.config.initialize-on-context-refresh |
|
Flag to initialize bootstrap configuration on context refresh event. Default false. |
spring.cloud.config.override-none |
|
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.cloud.config.override-system-properties |
|
Flag to indicate that the external properties should override system properties. Default true. |
spring.cloud.decrypt-environment-post-processor.enabled |
|
Enable the DecryptEnvironmentPostProcessor. |
spring.cloud.discovery.client.composite-indicator.enabled |
|
Enables discovery client composite health indicator. |
spring.cloud.discovery.client.health-indicator.enabled |
|
|
spring.cloud.discovery.client.health-indicator.include-description |
|
|
spring.cloud.discovery.client.health-indicator.use-services-query |
|
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.cloud.discovery.client.simple.instances |
||
spring.cloud.discovery.client.simple.local.host |
||
spring.cloud.discovery.client.simple.local.instance-id |
||
spring.cloud.discovery.client.simple.local.metadata |
||
spring.cloud.discovery.client.simple.local.port |
|
|
spring.cloud.discovery.client.simple.local.secure |
|
|
spring.cloud.discovery.client.simple.local.service-id |
||
spring.cloud.discovery.client.simple.local.uri |
||
spring.cloud.discovery.client.simple.order |
||
spring.cloud.discovery.enabled |
|
Enables discovery client health indicators. |
spring.cloud.features.enabled |
|
Enables the features endpoint. |
spring.cloud.httpclientfactories.apache.enabled |
|
Enables creation of Apache Http Client factory beans. |
spring.cloud.httpclientfactories.ok.enabled |
|
Enables creation of OK Http Client factory beans. |
spring.cloud.hypermedia.refresh.fixed-delay |
|
|
spring.cloud.hypermedia.refresh.initial-delay |
|
|
spring.cloud.inetutils.default-hostname |
|
The default hostname. Used in case of errors. |
spring.cloud.inetutils.default-ip-address |
|
The default IP address. Used in case of errors. |
spring.cloud.inetutils.ignored-interfaces |
List of Java regular expressions for network interfaces that will be ignored. |
|
spring.cloud.inetutils.preferred-networks |
List of Java regular expressions for network addresses that will be preferred. |
|
spring.cloud.inetutils.timeout-seconds |
|
Timeout, in seconds, for calculating hostname. |
spring.cloud.inetutils.use-only-site-local-interfaces |
|
Whether to use only interfaces with site local addresses. See {@link InetAddress#isSiteLocalAddress()} for more details. |
spring.cloud.loadbalancer.cache.caffeine.spec |
The spec to use to create caches. See CaffeineSpec for more details on the spec format. |
|
spring.cloud.loadbalancer.cache.capacity |
|
Initial cache capacity expressed as int. |
spring.cloud.loadbalancer.cache.enabled |
|
Enables Spring Cloud LoadBalancer caching mechanism. |
spring.cloud.loadbalancer.cache.ttl |
|
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.cloud.loadbalancer.call-get-with-request-on-delegates |
|
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.cloud.loadbalancer.clients |
||
spring.cloud.loadbalancer.configurations |
|
Enables a predefined LoadBalancer configuration. |
spring.cloud.loadbalancer.eager-load.clients |
Names of the clients. |
|
spring.cloud.loadbalancer.enabled |
|
Enables Spring Cloud LoadBalancer. |
spring.cloud.loadbalancer.eureka.approximate-zone-from-hostname |
|
Used to determine whether we should try to get the |
spring.cloud.loadbalancer.health-check.initial-delay |
|
Initial delay value for the HealthCheck scheduler. |
spring.cloud.loadbalancer.health-check.interval |
|
Interval for rerunning the HealthCheck scheduler. |
spring.cloud.loadbalancer.health-check.interval |
|
Interval for rerunning the HealthCheck scheduler. |
spring.cloud.loadbalancer.health-check.path |
Path at which the health-check request should be made. Can be set up per |
|
spring.cloud.loadbalancer.health-check.port |
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.cloud.loadbalancer.health-check.refetch-instances |
|
Indicates whether the instances should be refetched by the |
spring.cloud.loadbalancer.health-check.refetch-instances-interval |
|
Interval for refetching available service instances. |
spring.cloud.loadbalancer.health-check.repeat-health-check |
|
Indicates whether health checks should keep repeating. It might be useful to set it to |
spring.cloud.loadbalancer.health-check.update-results-list |
|
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.cloud.loadbalancer.hint |
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.cloud.loadbalancer.hint-header-name |
|
Allows setting the name of the header used for passing the hint for hint-based service instance filtering. |
spring.cloud.loadbalancer.retry.avoid-previous-instance |
|
Enables wrapping ServiceInstanceListSupplier beans with |
spring.cloud.loadbalancer.retry.backoff.enabled |
|
Indicates whether Reactor Retry backoffs should be applied. |
spring.cloud.loadbalancer.retry.backoff.jitter |
|
Used to set |
spring.cloud.loadbalancer.retry.backoff.max-backoff |
|
Used to set |
spring.cloud.loadbalancer.retry.backoff.min-backoff |
|
Used to set |
spring.cloud.loadbalancer.retry.enabled |
|
Enables LoadBalancer retries. |
spring.cloud.loadbalancer.retry.max-retries-on-next-service-instance |
|
Number of retries to be executed on the next |
spring.cloud.loadbalancer.retry.max-retries-on-same-service-instance |
|
Number of retries to be executed on the same |
spring.cloud.loadbalancer.retry.retry-on-all-exceptions |
|
Indicates retries should be attempted for all exceptions, not only those specified in |
spring.cloud.loadbalancer.retry.retry-on-all-operations |
|
Indicates retries should be attempted on operations other than |
spring.cloud.loadbalancer.retry.retryable-exceptions |
|
A |
spring.cloud.loadbalancer.retry.retryable-status-codes |
|
A |
spring.cloud.loadbalancer.service-discovery.timeout |
String representation of Duration of the timeout for calls to service discovery. |
|
spring.cloud.loadbalancer.stats.include-path |
|
Indicates whether the {@code path} should be added to {@code uri} tag in metrics. When {@link RestTemplate} is used to execute load-balanced requests with high cardinality paths, setting it to {@code false} is recommended. |
spring.cloud.loadbalancer.stats.micrometer.enabled |
|
Enables Spring Cloud LoadBalancer Micrometer stats. |
spring.cloud.loadbalancer.sticky-session.add-service-instance-cookie |
|
Indicates whether a cookie with the newly selected instance should be added by LoadBalancer. |
spring.cloud.loadbalancer.sticky-session.instance-id-cookie-name |
|
The name of the cookie holding the preferred instance id. |
spring.cloud.loadbalancer.subset.instance-id |
Instance id of deterministic subsetting. If not set, {@link IdUtils#getDefaultInstanceId(PropertyResolver)} will be used. |
|
spring.cloud.loadbalancer.subset.size |
|
Max subset size of deterministic subsetting. |
spring.cloud.loadbalancer.x-forwarded.enabled |
|
To Enable X-Forwarded Headers. |
spring.cloud.loadbalancer.zone |
Spring Cloud LoadBalancer zone. |
|
spring.cloud.refresh.additional-property-sources-to-retain |
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.cloud.refresh.enabled |
|
Enables autoconfiguration for the refresh scope and associated features. |
spring.cloud.refresh.extra-refreshable |
|
Additional class names for beans to post process into refresh scope. |
spring.cloud.refresh.never-refreshable |
|
Comma separated list of class names for beans to never be refreshed or rebound. |
spring.cloud.refresh.on-restart.enabled |
|
Enable refreshing context on start. |
spring.cloud.service-registry.auto-registration.enabled |
|
Whether service auto-registration is enabled. Defaults to true. |
spring.cloud.service-registry.auto-registration.fail-fast |
|
Whether startup fails if there is no AutoServiceRegistration. Defaults to false. |
spring.cloud.service-registry.auto-registration.register-management |
|
Whether to register the management as a service. Defaults to true. |
spring.cloud.util.enabled |
|
Enables creation of Spring Cloud utility beans. |