diff --git a/spring-kafka-docs/src/main/asciidoc/kafka.adoc b/spring-kafka-docs/src/main/asciidoc/kafka.adoc index 78335217..fa544e80 100644 --- a/spring-kafka-docs/src/main/asciidoc/kafka.adoc +++ b/spring-kafka-docs/src/main/asciidoc/kafka.adoc @@ -4485,7 +4485,7 @@ public KafkaTemplate kafkaTemplate() { ---- ==== When using an `ErrorHandlingDeserializer` with a batch listener, you must check for the deserialization exceptions in message headers. -When used with a `RecoveringBatchErrorHandler`, you can use that header to determine which record the exception failed on and communicate to the error handler via a `BatchListenerFailedException`. +When used with a `DefaultBatchErrorHandler`, you can use that header to determine which record the exception failed on and communicate to the error handler via a `BatchListenerFailedException`. ==== [source, java] @@ -5223,24 +5223,24 @@ void listen(List in, @Header(KafkaHeaders.CONVERSION_FAILURES) List