From db141543984bda7cec927f0afe786cb6a1c3a94c Mon Sep 17 00:00:00 2001 From: Soby Chacko Date: Thu, 10 Dec 2020 21:30:02 -0500 Subject: [PATCH] Cleanup docs in Kafka Streams binder - Add StreamListener deprecation notice in docs Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/1005 --- docs/src/main/asciidoc/kafka-streams.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/asciidoc/kafka-streams.adoc b/docs/src/main/asciidoc/kafka-streams.adoc index 0fe626e12..b7a9324dd 100644 --- a/docs/src/main/asciidoc/kafka-streams.adoc +++ b/docs/src/main/asciidoc/kafka-streams.adoc @@ -289,9 +289,9 @@ In summary, the following table shows the various options that can be used in th ==== Imperative programming model. -Although the functional programming model outlined above is the preferred approach, you can still use the classic `StreamListener` based approach if you prefer. - -Here are some examples. +Starting with `3.1.0` version of the binder, we recommend using the functional programming model described above for Kafka Streams binder based applications. +The support for `StreamListener` is deprecated starting with `3.1.0` of Spring Cloud Stream. +Below, we are providing some details on the `StreamListener` based Kafka Streams processors as a reference. Following is the equivalent of the Word count example using `StreamListener`.