You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* support batch recoverable `DefaultAfterRollbackProcessor`
* add method processBatch at `AfterRollbackProcessor`
* add opt-in property `batchRecoverAfterRollback` at `ContainerProperties`
* change format to `BatchListenerFailedException.getMessage`
* add batch recoverable after rollback unit test
* review fix
* `what-new.adoc` and `annotation-error-handling.adoc`
* add javadoc in `SeekUtils` and `AfterRollbackProcessor`
* change `ListenerUtils.nextBackOff` public to default
* change logger args to static string
* @author classes.
* fix adoc
* poblish `AfterRollbackProcessor`
* javadoc at `ContainerProperties`
* fix review and fix test bug at DefaultAfterRollbackProcessorTests
* add @test to DefaultAfterRollbackProcessorTests.testNoEarlyExitBackOff
* polish TransactionalContainerTests
* fix bug Tests at DefaultAfterRollbackProcessorTests method `testNoEarlyExitBackOff` and testEarlyExitBackOff
When you do not use transactions, you can achieve similar functionality by configuring a `DefaultErrorHandler`.
452
452
See xref:kafka/annotation-error-handling.adoc#error-handlers[Container Error Handlers].
453
453
454
-
IMPORTANT: Recovery is not possible with a batch listener, since the framework has no knowledge about which record in the batch keeps failing.
454
+
Starting with version 3.2, Recovery can now recover (skip) entire batch of records that keeps failing.
455
+
Set `ContainerProperties.setBatchRecoverAfterRollback(true)` to enable this feature.
456
+
457
+
IMPORTANT: Default behavior, recovery is not possible with a batch listener, since the framework has no knowledge about which record in the batch keeps failing.
455
458
In such cases, the application listener must handle a record that keeps failing.
456
459
457
460
See also xref:kafka/annotation-error-handling.adoc#dead-letters[Publishing Dead-letter Records].
0 commit comments