@Documented
@Retention(value=RUNTIME)
public @interface ErrorStrategy
DefaultKafkaListenerExceptionHandler
as well as set the error strategy.| Modifier and Type | Fields and Description |
|---|---|
static int |
DEFAULT_DELAY_IN_SECONDS
Default retry delay in seconds.
|
static int |
DEFAULT_RETRY_COUNT
Default retry attempts.
|
| Modifier and Type | Optional Element and Description |
|---|---|
int |
retryCount
The retry count used with RETRY_ON_ERROR
ErrorStrategyValue. |
java.lang.String |
retryDelay
The delay used with RETRY_ON_ERROR
ErrorStrategyValue. |
ErrorStrategyValue |
value
The strategy to use when an error occurs, see
ErrorStrategyValue. |
public static final int DEFAULT_DELAY_IN_SECONDS
public abstract java.lang.String retryDelay
ErrorStrategyValue.public abstract int retryCount
ErrorStrategyValue.public abstract ErrorStrategyValue value
ErrorStrategyValue.