update README

This commit is contained in:
markfisher
2017-02-13 09:45:39 -05:00
parent d8e51dbb6e
commit ab8fd05367

View File

@@ -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<String>` or `Flux<Pojo>` and Spring Cloud
Function takes care of converting the data to and from the desired