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
Copy file name to clipboardExpand all lines: spring-kafka-docs/src/main/asciidoc/kafka.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1257,7 +1257,7 @@ This is similar functionality to throwing an exception when the container is con
1257
1257
When using a batch listener, you can specify the index within the batch where the failure occurred.
1258
1258
When `nack()` is called, offsets will be committed for records before the index and seeks are performed on the partitions for the failed and discarded records so that they will be redelivered on the next `poll()`.
1259
1259
1260
-
See <<serror-handlers>> for more information.
1260
+
See <<error-handlers>> for more information.
1261
1261
1262
1262
IMPORTANT: When using partition assignment via group management, it is important to ensure the `sleep` argument (plus the time spent processing records from the previous poll) is less than the consumer `max.poll.interval.ms` property.
1263
1263
@@ -5005,7 +5005,7 @@ If you are using Spring Boot, you simply need to add the error handler as a `@Be
5005
5005
===== DefaultErrorHandler
5006
5006
5007
5007
This new error handler replaces the `SeekToCurrentErrorHandler` and `RecoveringBatchErrorHandler`, which have been the default error handlers for several releases now.
5008
-
One difference is that the fallback behavior for batch listeners (when an exception other than a `BatchListenerFailedException` is thrown) is the equivalent of the <<retrying-beh>>.
5008
+
One difference is that the fallback behavior for batch listeners (when an exception other than a `BatchListenerFailedException` is thrown) is the equivalent of the <<retrying-batch-eh>>.
5009
5009
5010
5010
The error handler can recover (skip) a record that keeps failing.
5011
5011
By default, after ten failures, the failed record is logged (at the `ERROR` level).
0 commit comments