Spring Cloud Task 2.0.0.RELEASE is now officially released and available for download from GitHub and the Pivotal repository. Check out what's new in this version below.
Officially, Spring Cloud Task 2.0.0.RELEASE is designed to keep version numbers aligned with Spring Boot 2. Updates since 1.2.x include:
Upgraded all dependencies
Limit the execution of concurrent tasks
When the execution of the batch job fails, the task also fails
Maven
<dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-task</artifactId> <version>2.0.0.RELEASE</version> </dependency> </dependencies>
Source code download
Spring Cloud Task enables users to develop and run short-lived microservices using Spring Cloud, and run them in the cloud, or even on Spring Cloud Dataflow. Just add @EnableTask and run your application as a Spring Boot application (single application context).