update README
This commit is contained in:
@@ -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`
|
`Function` is exposed as an HTTP POST if `spring-cloud-function-web`
|
||||||
is on the classpath, and as a Spring Cloud Stream `Processor` if
|
is on the classpath, and as a Spring Cloud Stream `Processor` if
|
||||||
`spring-cloud-function-stream` is on the classpath and a
|
`spring-cloud-function-stream` is on the classpath and a
|
||||||
`function.name` is configured in the Spring environment. A `Consumer`
|
`spring.cloud.function.stream.endpoint` property is configured in the Spring
|
||||||
is also exposed as an HTTP POST, or as a Stream `Sink`. A `Supplier`
|
environment. A `Consumer` is also exposed as an HTTP POST, or as a Stream
|
||||||
translates to an HTTP GET, or a Stream `Source`.
|
`Sink`. A `Supplier` translates to an HTTP GET, or a Stream `Source`.
|
||||||
|
|
||||||
Functions can be of `Flux<String>` or `Flux<Pojo>` and Spring Cloud
|
Functions can be of `Flux<String>` or `Flux<Pojo>` and Spring Cloud
|
||||||
Function takes care of converting the data to and from the desired
|
Function takes care of converting the data to and from the desired
|
||||||
|
|||||||
Reference in New Issue
Block a user