Skip to content

Commit

Permalink
Docs: fix some broken links
Browse files Browse the repository at this point in the history
* fix broken link to error-handlers

* fix broken link to retrying-batch-eh
  • Loading branch information
MahatmaFatalError authored Nov 24, 2021
1 parent 8e7c72f commit 319c114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spring-kafka-docs/src/main/asciidoc/kafka.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ This is similar functionality to throwing an exception when the container is con
When using a batch listener, you can specify the index within the batch where the failure occurred.
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()`.

See <<serror-handlers>> for more information.
See <<error-handlers>> for more information.

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.

Expand Down Expand Up @@ -5005,7 +5005,7 @@ If you are using Spring Boot, you simply need to add the error handler as a `@Be
===== DefaultErrorHandler

This new error handler replaces the `SeekToCurrentErrorHandler` and `RecoveringBatchErrorHandler`, which have been the default error handlers for several releases now.
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>>.
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>>.

The error handler can recover (skip) a record that keeps failing.
By default, after ten failures, the failed record is logged (at the `ERROR` level).
Expand Down

0 comments on commit 319c114

Please sign in to comment.