Spring Cloud Stream introduces a number of new features, enhancements, and changes in addition to the once already introduced in version 2.0
The following sections outline the most notable ones:
spring-cloud-stream-test-support, this release also introduces a simpler implementation of a test binder that is
more aligned with the current binder API providing for a better integration testing as it is touches on all aspects of binding API.
This binder was primarily designed for internal use, but found its usages outside. For more information on how to use it and how it can help you please refer to this section of user guide.Flux and Mono are at the core
of Spring Cloud Function project, you no longer
have to use or draw any distinction between reactive and conventional stream handler design,
hence you no longer need to explicitly rely on spring-cloud-stream-reactive module, which we’re now
considering for deprecation. For more details please refer to Spring Cloud Function section of this user guide.Enhanced properties binding support: This version of Spring Cloud Stream introduces significant enhancements to configuration properties bindings primarily to ensure consistency between the default and binding specific properties. A particular emphasis was given to maintaining the precedence and inheritance aspects where:
@StreamMessageConverter is available for all type conversion cases.
NOTE: Keep in mind that most of the content-type work at the moment also preserves compatibility with 1.3.x version of Spring Cloud Stream, thus will be further simplified once 1.3.x line goes EOL.As of version 2.1, the following items have been deprecated:
spring-cloud-stream-reactive module in favor of the adequate support already provided by Spring Cloud Function.