Polishing docs
This commit is contained in:
21
README.adoc
21
README.adoc
@@ -178,10 +178,13 @@ Now you have a working (albeit very basic) Spring Cloud Stream application.
|
||||
|
||||
[[spring-cloud-stream-preface-new-features]]
|
||||
=== New Features and Components
|
||||
TBD
|
||||
- Routing Function [Details to follow]
|
||||
- Multiple bindings with functions [Details to follow]
|
||||
- Functions with multiple inputs/outputs
|
||||
|
||||
- *Routing Function* - see <<Routing with functions>> for more details.
|
||||
- *Multiple bindings with functions* (multiple message handlers) - see <<Multiple functions in a single application>> for more details.
|
||||
- *Functions with multiple inputs/outputs* (single function that can subscribe or target multiple destinations) - see <<Functions with multiple input and output arguments>> for more details.
|
||||
- *Native support for reactive programming* - since v3.0.0 we no longer distribute spring-cloud-stream-reactive modules and instead
|
||||
relying on native reactive support provided by spring cloud function. For backward
|
||||
compatibility you can still bring `spring-cloud-stream-reactive` from previous versions.
|
||||
|
||||
|
||||
[[spring-cloud-stream-preface-notable-enhancements]]
|
||||
@@ -191,10 +194,12 @@ TBD
|
||||
[[spring-cloud-stream-preface-notable-deprecations]]
|
||||
=== Notable Deprecations
|
||||
|
||||
- Reactive module in favor of native support via spring-cloud-function. [Details to follow]
|
||||
- Test support module with MessageCollector [Details to follow]
|
||||
- @StreamMessageConverter [Details to follow]
|
||||
- Original content type - removed
|
||||
- Reactive module (`spring-cloud-stream-reactive`) is discontinued and no longer distributed in favor of native support via spring-cloud-function.
|
||||
For backward
|
||||
compatibility you can still bring `spring-cloud-stream-reactive` from previous versions.
|
||||
- We've deprecated `spring-cloud-stream-test-support` with MessageCollector in favor of a new test binder. See <<Testing>> for more details.
|
||||
- @StreamMessageConverter - deprecated as it is no longer required.
|
||||
- The reliance on the `original-content-type` has been removed after it's been deprecated in v2.0.
|
||||
|
||||
= Appendices
|
||||
[appendix]
|
||||
|
||||
@@ -158,10 +158,13 @@ Now you have a working (albeit very basic) Spring Cloud Stream application.
|
||||
|
||||
[[spring-cloud-stream-preface-new-features]]
|
||||
=== New Features and Components
|
||||
TBD
|
||||
- Routing Function [Details to follow]
|
||||
- Multiple bindings with functions [Details to follow]
|
||||
- Functions with multiple inputs/outputs
|
||||
|
||||
- *Routing Function* - see <<Routing with functions>> for more details.
|
||||
- *Multiple bindings with functions* (multiple message handlers) - see <<Multiple functions in a single application>> for more details.
|
||||
- *Functions with multiple inputs/outputs* (single function that can subscribe or target multiple destinations) - see <<Functions with multiple input and output arguments>> for more details.
|
||||
- *Native support for reactive programming* - since v3.0.0 we no longer distribute spring-cloud-stream-reactive modules and instead
|
||||
relying on native reactive support provided by spring cloud function. For backward
|
||||
compatibility you can still bring `spring-cloud-stream-reactive` from previous versions.
|
||||
|
||||
|
||||
[[spring-cloud-stream-preface-notable-enhancements]]
|
||||
@@ -171,7 +174,9 @@ TBD
|
||||
[[spring-cloud-stream-preface-notable-deprecations]]
|
||||
=== Notable Deprecations
|
||||
|
||||
- Reactive module in favor of native support via spring-cloud-function. [Details to follow]
|
||||
- Test support module with MessageCollector [Details to follow]
|
||||
- @StreamMessageConverter [Details to follow]
|
||||
- Original content type - removed
|
||||
- Reactive module (`spring-cloud-stream-reactive`) is discontinued and no longer distributed in favor of native support via spring-cloud-function.
|
||||
For backward
|
||||
compatibility you can still bring `spring-cloud-stream-reactive` from previous versions.
|
||||
- We've deprecated `spring-cloud-stream-test-support` with MessageCollector in favor of a new test binder. See <<Testing>> for more details.
|
||||
- @StreamMessageConverter - deprecated as it is no longer required.
|
||||
- The reliance on the `original-content-type` has been removed after it's been deprecated in v2.0.
|
||||
|
||||
@@ -568,7 +568,7 @@ Default: 1L.
|
||||
|
||||
For example `--spring.cloud.stream.poller.fixed-delay=2000` sets the poller interval to poll every two seconds.
|
||||
|
||||
===== Content-based routing with functions
|
||||
===== Routing with functions
|
||||
Routing with functions can be achieved by relying on `RoutingFunction` available in Spring Cloud Function 3.0. All you need to do is enable it via
|
||||
`--spring.cloud.stream.function.routing.enabled=true` application property. Once enabled `RoutingFunction` will be bound to input destination
|
||||
receiving all the messages and route them to other functions based on the provided instruction.
|
||||
|
||||
Reference in New Issue
Block a user