From fe6a0ab8b73b36690ba74a119dfee6430d19ffec Mon Sep 17 00:00:00 2001 From: "F. Emerson" Date: Thu, 30 Jan 2025 17:38:35 -0300 Subject: [PATCH] Fix typos in documentation Signed-off-by: F. Emerson --- docs/modules/ROOT/pages/spring-cloud-stream/bindings.adoc | 2 +- .../spring-cloud-stream/producing-and-consuming-messages.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/spring-cloud-stream/bindings.adoc b/docs/modules/ROOT/pages/spring-cloud-stream/bindings.adoc index d0fa1e474..608e8b591 100644 --- a/docs/modules/ROOT/pages/spring-cloud-stream/bindings.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-stream/bindings.adoc @@ -25,7 +25,7 @@ public class SampleApplication { } } ---- -The above example looks no different then any vanilla spring-boot application. It defines a single bean of type `Function` +The above example looks no different than any vanilla spring-boot application. It defines a single bean of type `Function` and that is it. So, how does it become a spring-cloud-stream application? It becomes a spring-cloud-stream application simply because of the presence of spring-cloud-stream and binder dependencies and auto-configuration classes on the classpath, effectively setting the context for your boot application as a spring-cloud-stream application. diff --git a/docs/modules/ROOT/pages/spring-cloud-stream/producing-and-consuming-messages.adoc b/docs/modules/ROOT/pages/spring-cloud-stream/producing-and-consuming-messages.adoc index d1dac6be9..abb544847 100644 --- a/docs/modules/ROOT/pages/spring-cloud-stream/producing-and-consuming-messages.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-stream/producing-and-consuming-messages.adoc @@ -13,7 +13,7 @@ we recommend using functional implementations. [[overview]] === Overview -Since Spring Cloud Stream v2.1, another alternative for defining _stream handlers_ and _sources_ is to use build-in +Since Spring Cloud Stream v2.1, another alternative for defining _stream handlers_ and _sources_ is to use built-in support for https://cloud.spring.io/spring-cloud-function/[Spring Cloud Function] where they can be expressed as beans of type `java.util.function.[Supplier/Function/Consumer]`.