Interface DeliveryAttemptAware
- All Known Subinterfaces:
CommonErrorHandler
- All Known Implementing Classes:
CommonContainerStoppingErrorHandler,CommonDelegatingErrorHandler,CommonLoggingErrorHandler,CommonMixedErrorHandler,DefaultAfterRollbackProcessor,DefaultErrorHandler,FailedBatchProcessor,FailedRecordProcessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A component implementing this interface can provide the next delivery attempt.
- Since:
- 2.5
-
Method Summary
Modifier and TypeMethodDescriptionintdeliveryAttempt(TopicPartitionOffset topicPartitionOffset) Return the next delivery attempt for the topic/partition/offset.
-
Method Details
-
deliveryAttempt
Return the next delivery attempt for the topic/partition/offset.- Parameters:
topicPartitionOffset- the topic/partition/offset.- Returns:
- the next delivery attempt.
-