From bc02da29001dfe36a4e2e544f9aeb415bda6a2d2 Mon Sep 17 00:00:00 2001 From: Soby Chacko Date: Tue, 2 Mar 2021 16:42:12 -0500 Subject: [PATCH] Docs cleanup Apply changes from a previous commit to the proper docs file. See the prior relevant commit at the URL below: https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/commit/af5778d157f54520cdeb71cc5c109b58dd33793b Fixes https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/1032 --- docs/src/main/asciidoc/overview.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/overview.adoc b/docs/src/main/asciidoc/overview.adoc index 60656785..466cac07 100644 --- a/docs/src/main/asciidoc/overview.adoc +++ b/docs/src/main/asciidoc/overview.adoc @@ -320,7 +320,7 @@ Default: none. Starting with version 3.0, when `spring.cloud.stream.binding..consumer.batch-mode` is set to `true`, all of the records received by polling the Kafka `Consumer` will be presented as a `List` to the listener method. Otherwise, the method will be called with one record at a time. -The size of the batch is controlled by Kafka consumer properties `max.poll.records`, `min.fetch.bytes`, `fetch.max.wait.ms`; refer to the Kafka documentation for more information. +The size of the batch is controlled by Kafka consumer properties `max.poll.records`, `fetch.min.bytes`, `fetch.max.wait.ms`; refer to the Kafka documentation for more information. Bear in mind that batch mode is not supported with `@StreamListener` - it only works with the newer functional programming model.