diff --git a/src/reference/asciidoc/kafka.adoc b/src/reference/asciidoc/kafka.adoc index ce287d80..73b61b45 100644 --- a/src/reference/asciidoc/kafka.adoc +++ b/src/reference/asciidoc/kafka.adoc @@ -76,6 +76,9 @@ The template can also be configured using standard `` definitions. Then, to use the template, simply invoke one of its methods. +Optionally, you can configure the `KafkaTemplate` with a `ProducerListener` to get an async callback with the +results of the send (success or failure) instead of waiting for the `Future` to complete. + ==== Receiving Messages Messages can be received by configuring a `MessageListenerContainer` and providing a `MessageListener`, or by