public interface RecoveryConfigurationBuilder<T> extends ConfigurationBuilderBase<T>
Modifier and Type | Method and Description |
---|---|
T |
setMaxInactivitySeconds(int inactivitySeconds)
Sets the max time window between two consecutive alive messages before the associated producer is marked as down
|
T |
setMaxRecoveryExecutionTime(int value,
TimeUnit timeUnit)
Sets the maximum time in seconds in which recovery must be completed (minimum 900 seconds)
|
default T |
setMinIntervalBetweenRecoveryRequests(int intervalSeconds)
Sets the minimal time between two successive recovery requests initiated by alive messages (minimum 20 seconds)
|
build, loadConfigFromApplicationYml, loadConfigFromSdkProperties, setDefaultLocale, setDesiredLocales, setDisabledProducers, setExceptionHandlingStrategy, setHttpClientMaxConnPerRoute, setHttpClientMaxConnTotal, setHttpClientTimeout, setRecoveryHttpClientMaxConnPerRoute, setRecoveryHttpClientMaxConnTotal, setRecoveryHttpClientTimeout, setSdkNodeId
T setMaxInactivitySeconds(int inactivitySeconds)
inactivitySeconds
- the max time window between two consequtive alive messagesRecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setMaxRecoveryExecutionTime(int value, TimeUnit timeUnit)
value
- the TimeUnit
valuetimeUnit
- the used TimeUnit
RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesdefault T setMinIntervalBetweenRecoveryRequests(int intervalSeconds)
intervalSeconds
- the minimal time between two successive recovery requests initiated by alive messages (default 30)RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesCopyright © 2016–2023. All rights reserved.