Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2485
These improvements are threading related
Initial implementation
Readd missing 'cache' for recent offset lags and general refactoring
Add a test case for the schedule-only variant and externalize scheduling interval
Consistency of configuration property naming and minor cleanup of existing code
Review feedback: documentation, author addition and copyright adjustments
Doc wording changes
Fix checkstyle issues
Adjust reference doc and improve new property names according to review
Move documentation to the correct file
Use JDK 8 compatible APIs and make the new test case public to satisfy junit
Starting with Spring Boot `2.6`, the auto-configuration
for Spring Integration introduces `poller` properties.
The `DefaultPollerProperties` and its respective `ChannelBindingAutoConfiguration` are not needed any more.
* Add `PollerConfigEnvironmentPostProcessor` to remap deprecated
`spring.cloud.stream.poller` into respective `spring.integration.poller`
properties
* Mention in the docs a deprecation move and its replacement
Related to: https://github.com/spring-projects/spring-boot/pull/27992Resolves#2233
Currently, when `StreamBridge` creates an output binding, the framework
applies all the available channel interceptors on it by default. This
creates unwanted side effects and the application does not have a way
to control this. Change this behavior by only applying channel interceptors
annoatated with `@GlobalChannelInterceptor`. This way, the user can
provide patterns to decide which interceptors need to be applied on
specific `StreamBridge` bindings.
Adding tests to verify.
Adding docs.
Resolves https://github.com/spring-cloud/spring-cloud-stream/issues/2180
Given that RoutingFunction may actualy route to Consumer, there is no need for output binding.
This fix addresses it where no output binding is created initially and instead the output binding will be created if and when the firt output is produced.
Resolves#2168