What's Changed
- Add
stopOnFailure()to consumers, which stops consuming without committing the offset of a failed message when no dead letter queue is configured, so it is consumed again after a restart instead of being lost (#394) by @mateusjunges in #395 - Add
retryFailedMessages()to consumers, which calls the handler of a failed message again, with an optional backoff, before handling it as failed by @mateusjunges in #396 - Deprecate
SeekToCurrentErrorCommitter, as it does not make failed messages be consumed again. UseretryFailedMessages(),stopOnFailure()or a dead letter queue instead, by @mateusjunges in #396 - Document that failed messages are not consumed again by default when no dead letter queue is configured by @mateusjunges in #395
Full Changelog: v2.11.5...v2.12.0