Kafka Consumer Error Handling, Retry, and Recovery
Perficient
FEBRUARY 15, 2021
In return, RetryTemplate is set with Retry policy which specifies the maximum attempts you want to retry and what are the exceptions you want to retry and what are not to be retried. These Exceptions are those which can be succeeded when they are tried later. The following code snippet shows how to configure a retry with RetryTemplate.
Let's personalize your content