Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 954b47f

Browse files
committed
Added docs for launching a CT with custom CTR
resolves #3377 Updated based on code review
1 parent 36e7180 commit 954b47f

File tree

1 file changed

+16
-0
lines changed
  • spring-cloud-dataflow-docs/src/main/asciidoc

1 file changed

+16
-0
lines changed

spring-cloud-dataflow-docs/src/main/asciidoc/tasks.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,22 @@ dataflow:>task launch my-composed-task --arguments "--increment-instance-enabled
619619
Launched task 'my-composed-task'
620620
----
621621

622+
===== Launching a Composed Task using Custom Composed Task Runner
623+
624+
In some cases a user will need to launch a composed task using a custom version of a Composed Task Runner other than default application that is shipped out-of-the-box.
625+
To do this, a user will need to register the custom version of the Composed Task Runner and then specify the --composedTaskRunnerName property pointing to the custom application at task launch as shown below:
626+
[source,bash,options="nowrap"]
627+
----
628+
dataflow:>app register --name best-ctr --type task --uri maven://the.best.ctr.composed-task-runner:1.0.0.RELEASE
629+
630+
dataflow:>task create mycomposedtask --definition "te:timestamp && tr:timestamp"
631+
Created new task 'mycomposedtask'
632+
633+
dataflow:>task launch --name mycomposedtask --composedTaskRunnerName best-ctr
634+
----
635+
636+
NOTE: The app specified by the `composedTaskRunnerName` needs to be a task registered in the Application Registry.
637+
622638
===== Exit Statuses
623639

624640
The following list shows how the Exit Status is set for each step (task) contained in the composed task following each step execution:

0 commit comments

Comments
 (0)