Spring Cloud Task 2.0.0.RC1 is now available
We are pleased to announce that Spring Cloud Task 2.0.0.RC1 is now available on Github and the Pivotal download repository. Many thanks to all of those who contributed to this release.
This release includes upgrades to existing dependencies as well as some nice new features. Let’s take a look at what’s new in this release.
Compatibility with Spring Cloud Stream 2.0
Spring Cloud Stream 2.0 was released a few days ago and provides a collection of impressive enhancements. Spring Cloud Task is updated and supports Spring Cloud Stream 2.0
Multiple DataSource Sample
A common point of confusion for Spring Cloud Task is how to configure a task application when using multiple DataSource beans. In this release, we provided a sample that demonstrates how that should work. You can find that sample here .
Features Release in Previous Milestones
Beyond the above new features, other features that are included in the 2.0 line include the following:
- Restricting task instances: Via configuration, you can prevent multiple instances of a task from executing.
Batch jobs fail the task: By setting the
true, if a Spring Batch job executed within the task fails, the task fails as well.