diff --git a/README.adoc b/README.adoc index 6cd07f99c..b91a42be9 100644 --- a/README.adoc +++ b/README.adoc @@ -92,9 +92,9 @@ The `@Beans` can be `Function`, `Consumer` or `Supplier` (all from `Function` is exposed as an HTTP POST if `spring-cloud-function-web` is on the classpath, and as a Spring Cloud Stream `Processor` if `spring-cloud-function-stream` is on the classpath and a -`function.name` is configured in the Spring environment. A `Consumer` -is also exposed as an HTTP POST, or as a Stream `Sink`. A `Supplier` -translates to an HTTP GET, or a Stream `Source`. +`spring.cloud.function.stream.endpoint` property is configured in the Spring +environment. A `Consumer` is also exposed as an HTTP POST, or as a Stream +`Sink`. A `Supplier` translates to an HTTP GET, or a Stream `Source`. Functions can be of `Flux` or `Flux` and Spring Cloud Function takes care of converting the data to and from the desired