Spring Cloud Task App Starters

Elston

Spring Cloud Task Application Starters are Spring Boot applications that may be any process includinghttps://projects.spring.io/spring-batch[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, Kubernetes, Docker, or even on your laptop. If you are new to task app starters

Features

  • Run standalone as Spring Boot applications

  • Orchestrate as ephemeral data microservices

  • Consume data microservice applications as maven or docker artifacts

  • Override configuration parameters via command-line, environment variables, or YAML file

  • Provide infrastructure to test the applications in isolation

  • Download as starters from this version of Spring Initializr

Available Applications

  • composed-task-runner

  • jdbchdfs-local

  • timestamp

  • timestamp-batch

Running a sample Task Launcher

Step 1 - Download the latest timestamp application from here [eg: /1.3.0.RELEASE/timestamp-task-1.3.0.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

Task App Starters and Spring Cloud Data Flow (**)

Artifact Type

Stable Release

Milestone/Snapshot Release

Maven

http://bit.ly/Clark-GA-task-applications-maven

http://bit.ly/Dearborn-M1-task-applications-maven

Docker

http://bit.ly/Clark-GA-task-applications-docker

http://bit.ly/Dearborn-M1-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

HTTP Repository Location for Apps

Here you will find the direct links to the uber jars for the task apps.

Quick start

Bootstrap your application with Spring Initializr.

Documentation

Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
Elston CURRENT GA Reference Doc. API Doc.
Elston SNAPSHOT Reference Doc. API Doc.
Dearborn SR1 GA Reference Doc. API Doc.
Clark GA Reference Doc. API Doc.