From 916dfaf4433c2322aea1ef26d598d5951791d56f Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Wed, 31 Jan 2024 13:21:57 -0500 Subject: [PATCH] Mention version in the doc for async return types --- .../ROOT/pages/kafka/receiving-messages/async-returns.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/receiving-messages/async-returns.adoc b/spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/receiving-messages/async-returns.adoc index 451a93dadb..f458186bea 100644 --- a/spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/receiving-messages/async-returns.adoc +++ b/spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/receiving-messages/async-returns.adoc @@ -1,7 +1,7 @@ [[async-returns]] = Asynchronous `@KafkaListener` Return Types -`@KafkaListener` (and `@KafkaHandler`) methods can be specified with asynchronous return types, letting the reply be sent asynchronously. +`Starting with version 3.2, `@KafkaListener` (and `@KafkaHandler`) methods can be specified with asynchronous return types, letting the reply be sent asynchronously. return types include `CompletableFuture`, `Mono` and Kotlin `suspend` functions. [source, java]