From 568c82d889e1c1bf6ed95d8fce1d8c7d3853710c Mon Sep 17 00:00:00 2001 From: Soby Chacko Date: Thu, 21 Mar 2024 16:22:02 -0400 Subject: [PATCH] Fixing typo - consuming batch docs --- .../ROOT/pages/kafka/kafka-binder/consume-batches.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/kafka/kafka-binder/consume-batches.adoc b/docs/modules/ROOT/pages/kafka/kafka-binder/consume-batches.adoc index 3d1e12bbd..bfd0e8d45 100644 --- a/docs/modules/ROOT/pages/kafka/kafka-binder/consume-batches.adoc +++ b/docs/modules/ROOT/pages/kafka/kafka-binder/consume-batches.adoc @@ -8,7 +8,7 @@ When receiving the batches, the following type signatures are allowed: ``` List -Message +Message> ``` In the first option of `List`, the listener will not get any message headers. @@ -31,4 +31,4 @@ You can also use a manual `AckMode` and call `Ackowledgment.nack(index, sleep)` Refer to the https://docs.spring.io/spring-kafka/reference/kafka/receiving-messages/message-listener-container.html#committing-offsets[Spring for Apache Kafka documentation] for more information about these techniques. NOTE: When receiving `KafkaNull` objects in the batch-mode, the received list will contain a null element for the corresponding `KafkaNull` object. -This is true for both `List` style type signatures. +This is true for both `List` and `Message>` style type signatures.