Skip to content

Commit

Permalink
Mention version in the doc for async return types
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan authored Jan 31, 2024
1 parent 76a2e0b commit 916dfaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit 916dfaf

Please sign in to comment.