Interface IEurekaClientConfig
Namespace: Steeltoe.Discovery.Eureka
Assembly: Steeltoe.Discovery.Eureka.dll
Syntax
public interface IEurekaClientConfig
Properties
| Edit this page View SourceEurekaServerConnectTimeoutSeconds
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
Declaration
int EurekaServerConnectTimeoutSeconds { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
EurekaServerServiceUrls
Gets or sets comma delimited list of URls to use in contacting the Eureka Server Configuration property: eureka:client:serviceUrl
Declaration
string EurekaServerServiceUrls { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProxyHost
Gets or sets the proxy host to the eureka server if any. Configuration property: eureka:client:eurekaServer:proxyHost
Declaration
string ProxyHost { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProxyPassword
Gets or sets the proxy password if any. Configuration property: eureka:client:eurekaServer:proxyPassword
Declaration
string ProxyPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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
Declaration
int ProxyPort { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ProxyUserName
Gets or sets the proxy user name if any. Configuration property: eureka:client:eurekaServer:proxyUserName
Declaration
string ProxyUserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RegistryFetchIntervalSeconds
Gets or sets indicates how often(in seconds) to fetch the registry information from the eureka server. Configuration property: eureka:client:registryFetchIntervalSeconds
Declaration
int RegistryFetchIntervalSeconds { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RegistryRefreshSingleVipAddress
Gets or sets indicates whether the client is only interested in the registry information for a single VIP. Configuration property: eureka:client:registryRefreshSingleVipAddress
Declaration
string RegistryRefreshSingleVipAddress { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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
Declaration
bool ShouldDisableDelta { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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
Declaration
bool ShouldFetchRegistry { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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
Declaration
bool ShouldFilterOnlyUpInstances { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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
Declaration
bool ShouldGZipContent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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
Declaration
bool ShouldOnDemandUpdateStatusChange { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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
Declaration
bool ShouldRegisterWithEureka { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ValidateCertificates
Gets or sets a value indicating whether enables/Disables whether client validates server certificates Configuration property: eureka:client:validate_certificates
Declaration
bool ValidateCertificates { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |