Add Data Flow Load Generator Example

The `dataflow-template-load-generator` will be able to create a parameterized amount of task applications and generate a definable amount of task/batch executions.
This commit is contained in:
Gunnar Hillert
2019-06-05 22:37:34 -10:00
parent 15b91f35cf
commit 6d6cced468
5 changed files with 407 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
= Data Flow Template Load Generator
This example uses the Spring Cloud Data Flow Template to generator a set of Task- and Batch Executions.
This examples, will:
- Import https://cloud.spring.io/spring-cloud-task-app-starters/[Task App Starter applications]
- Import https://cloud.spring.io/spring-cloud-stream-app-starters/[Stream App Starter applications]
- Create several Task Applications
- Execute each Task Application several times
In order to get everything running we need to setup the following server instances:
* Spring Cloud Skipper
* Spring Cloud Data Flow
== Build + Run
Configure the example application in `DataflowTemplateApplication.java`. Then build
using `$ mvn clean package` and run using
`$ java -jar target/dataflow-template-load-generator-1.0.0.BUILD-SNAPSHOT.jar`