Interface IEurekaClientConfig
public interface IEurekaClientConfig
Properties
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
int EurekaServerConnectTimeoutSeconds { 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
string EurekaServerServiceUrls { get; set; }
Property Value
ProxyHost
Gets or sets the proxy host to the eureka server if any. Configuration property: eureka:client:eurekaServer:proxyHost
string ProxyHost { get; set; }
Property Value
ProxyPassword
Gets or sets the proxy password if any. Configuration property: eureka:client:eurekaServer:proxyPassword
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
int ProxyPort { get; set; }
Property Value
ProxyUserName
Gets or sets the proxy user name if any. Configuration property: eureka:client:eurekaServer:proxyUserName
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
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
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
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
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
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
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
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
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
bool ValidateCertificates { get; set; }