Spring Cloud Task Application Starters are Spring Boot applications that may be any process including Spring Batch jobs that do not run forever, and they end/stop at some point. Spring Cloud Task Applications can be used with Spring Cloud Data Flow to create, deploy, and orchestrate short-lived data microservices.
Spring Cloud Task Application Starters are standalone executable applications that can be used for on-demand use-cases such as database migration, machine learning, and scheduled operations. These applications can run independently on variety of runtime platforms including: Cloud Foundry, Apache Yarn, Apache Mesos, Kubernetes, Docker, or even on your laptop.
Task |
---|
timestamp |
timestamp-batch |
Step 1 - Download the latest timestamp application from here [eg: /2.1.1.RELEASE/timestamp-task-2.1.1.RELEASE.jar]
Step 2 - Run timestamp application
java -jar timestamp-task-***.jar
Step 3 - Verify timestamp logs in console
Step 4 - Verify timestamp application shutsdown
With Spring Boot 2.1.x + Spring Cloud Task 2.1.x:
Artifact Type | Stable Release | Milestone/Snapshot Release |
---|---|---|
Maven | https://dataflow.spring.io/task-maven-latest | https://dataflow.spring.io/Elston-BUILD-SNAPSHOT-task-applications-maven |
Docker | https://dataflow.spring.io/task-docker-latest | https://dataflow.spring.io/Elston-BUILD-SNAPSHOT-task-applications-docker |
(**) find out how to use the app-starters in Spring Cloud Data Flow by reviewing the app-registration section in the reference guide
Here you will find the direct links to the uber jars for the task apps.
With Spring Boot 2.1.x + Spring Cloud Task 2.1.x: