Spring Cloud Task 2.0.0 released with all dependencies upgraded

  

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

See  https://spring.io/blog/2018/05/07/spring-cloud-task-2-0-0-release-is-now-available for a detailed description of these updates

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).

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325794740&siteId=291194637