Class EurekaClientConfig
public class EurekaClientConfig : IEurekaClientConfig
- Inheritance
-
EurekaClientConfig
- Implements
- Derived
- Inherited Members
Constructors
EurekaClientConfig()
public EurekaClientConfig()
Fields
Default_EurekaServerConnectTimeoutSeconds
public const int Default_EurekaServerConnectTimeoutSeconds = 5
Field Value
Default_EurekaServerRetryCount
public const int Default_EurekaServerRetryCount = 3
Field Value
Default_InstanceInfoReplicationIntervalSeconds
public const int Default_InstanceInfoReplicationIntervalSeconds = 40
Field Value
Default_RegistryFetchIntervalSeconds
public const int Default_RegistryFetchIntervalSeconds = 30
Field Value
Default_ServerServiceUrl
public const string Default_ServerServiceUrl = "http://localhost:8761/eureka/"
Field Value
Properties
Enabled
public bool Enabled { get; set; }
Property Value
EurekaServerConnectTimeoutSeconds
Gets or sets 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 and this setting affects the actual connection creation and also the wait time to get the connection from the pool. Configuration property: eureka:client:eurekaServer:connectTimeoutSeconds
public int EurekaServerConnectTimeoutSeconds { get; set; }
Property Value
EurekaServerRetryCount
public int EurekaServerRetryCount { get; set; }
Property Value
EurekaServerServiceUrls
Gets or sets comma delimited list of URls to use in contacting the Eureka Server Configuration property: eureka:client:serviceUrl
public string EurekaServerServiceUrls { get; set; }
Property Value
HealthCheckEnabled
public bool HealthCheckEnabled { get; set; }
Property Value
HealthContribEnabled
public bool HealthContribEnabled { get; set; }
Property Value
HealthMonitoredApps
public string HealthMonitoredApps { get; set; }
Property Value
ProxyHost
Gets or sets the proxy host to the eureka server if any. Configuration property: eureka:client:eurekaServer:proxyHost
public string ProxyHost { get; set; }
Property Value
ProxyPassword
Gets or sets the proxy password if any. Configuration property: eureka:client:eurekaServer:proxyPassword
public string ProxyPassword { get; set; }
Property Value
ProxyPort
Gets or sets the proxy port to the eureka server if any.
Configuration property: eureka:client:eurekaServer:proxyPort
value
sets the proxy port value
public int ProxyPort { get; set; }
Property Value
ProxyUserName
Gets or sets the proxy user name if any. Configuration property: eureka:client:eurekaServer:proxyUserName
public string ProxyUserName { get; set; }
Property Value
RegistryFetchIntervalSeconds
Gets or sets indicates how often(in seconds) to fetch the registry information from the eureka server. Configuration property: eureka:client:registryFetchIntervalSeconds
public int RegistryFetchIntervalSeconds { get; set; }
Property Value
RegistryRefreshSingleVipAddress
Gets or sets indicates whether the client is only interested in the registry information for a single VIP. Configuration property: eureka:client:registryRefreshSingleVipAddress
public string RegistryRefreshSingleVipAddress { get; set; }
Property Value
ShouldDisableDelta
Gets or sets a value indicating whether 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 therate of fetches.
The changes are effective at runtime at the next registry fetch cycle as specified by RegistryFetchIntervalSeconds
Configuration property: eureka:client:shouldDisableDelta
public bool ShouldDisableDelta { get; set; }
Property Value
ShouldFetchRegistry
Gets or sets a value indicating whether indicates whether this client should fetch eureka registry information from eureka server. Configuration property: eureka:client:shouldFetchRegistry
public bool ShouldFetchRegistry { get; set; }
Property Value
ShouldFilterOnlyUpInstances
Gets or sets a value indicating whether indicates whether to get the applications after filtering the applications for instances with only UP states. The changes are effective at runtime at the next registry fetch cycle as specified by RegistryFetchIntervalSeconds
Configuration property: eureka:client:shouldFilterOnlyUpInstances
public bool ShouldFilterOnlyUpInstances { get; set; }
Property Value
ShouldGZipContent
Gets or sets a value indicating whether 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. Configuration property: eureka:client:eurekaServer:shouldGZipContent
public bool ShouldGZipContent { get; set; }
Property Value
ShouldOnDemandUpdateStatusChange
Gets or sets a value indicating whether if set to true, local status updates via ApplicationInfoManager#setInstanceStatus(InstanceStatus)} will trigger on-demand (but rate limited) register/updates to remote eureka servers Configuration property: eureka:client:shouldOnDemandUpdateStatusChange
public bool ShouldOnDemandUpdateStatusChange { get; set; }
Property Value
ShouldRegisterWithEureka
Gets or sets a value indicating whether 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.
Configuration property: eureka:client:shouldRegisterWithEureka
public bool ShouldRegisterWithEureka { get; set; }
Property Value
ValidateCertificates
Gets or sets a value indicating whether enables/Disables whether client validates server certificates Configuration property: eureka:client:validate_certificates
public bool ValidateCertificates { get; set; }