Markiza
Markiza

Reputation: 444

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)?

Upvotes: 0

Views: 110

Answers (1)

Sabby Anandan
Sabby Anandan

Reputation: 5651

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

Upvotes: 1

Related Questions