简体   繁体   中英

Spring Cloud DataFlow automated run

I want my application to run DataFlow task after some condition is satisfied (some event raises). Is there any way to run that from code:

  1. Some event raised
  2. Spring DataFlow starts some task

without Spring DataFlow shell, just start all from my code (register app in DataFlow, etc)?

You can take advantage of "stream-launching-a-task" feature to automate the launching of any arbitrary short-lived task application.

SCDF also offers REST-API and an REST-template that can be used for programmatic orchestration as opposed to the DSL/Shell.

Check out this example orchestration for mode details

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM