Provide a sample using the DataFlowTemplate
This commit is contained in:
20
dataflow-template-example/README.adoc
Normal file
20
dataflow-template-example/README.adoc
Normal file
@@ -0,0 +1,20 @@
|
||||
= Data Flow Template Example
|
||||
|
||||
This example provides an example of using the Spring Cloud Data Flow Template to
|
||||
interact with a Spring Cloud Data Flow server programmatically.
|
||||
|
||||
This examples, will import
|
||||
https://cloud.spring.io/spring-cloud-stream-app-starters/[Stream App Starter applications]
|
||||
and print the the list of imported application to the console.
|
||||
|
||||
In order to get everything running we need to setup the following server instances:
|
||||
|
||||
* Spring Cloud Skipper (secured by OAUTH2, port `7577`)
|
||||
* Spring Cloud Data Flow (secured by OAUTH2, port `9393`)
|
||||
|
||||
== Build + Run
|
||||
|
||||
Configure the example application in `DataflowTemplateApplication.java`. Then build
|
||||
using `$ mvn clean package` and run using
|
||||
`$ java -jar target/dataflow-template-1.0.0.BUILD-SNAPSHOT.jar`
|
||||
|
||||
Reference in New Issue
Block a user