When task definitions are launched to the target platforms (
kubernetes), you can provide the configuration properties that are applied to the task applications at launch time.
For instance you can specify:
- Deployer Properties - These properties customize how tasks are launched.
- Application Properties - These are application specific properties.
Deployer properties are those properties that tell Spring Cloud Data Flow's deployer how the application should be launched.
They are in the format of
For example if you are launching to the local platform, and you want to set the maximum heap to 2048m, the following deployer property would need to be set,
Applications properties are those properties that were created by the application developers that specify the behaviors for the application.
For example, the timestamp application allows you to set the format of the timestamp via the arguments or properties.
The format for app properties is
So the timestamp format property would be
Make sure you have registered your timestamp application and created a definition for it as discussed in the Getting Started Guide.
So using the UI we will launch the
timestamp-task by pressing the
play button (that's the middle icon that looks like an arrow head pointing right).
This will take you to a form where you can add command line arguments and deployment parameters.
Using the examples from above, let's add both the deployer and application properties to the parameters text box as shown below:
Launch the task and stand back!
This will run the task on the Data Flow server's task platform and record a new task
When the execution is complete, the Status will turn to a satisfying green color and show
Executions tab to view a summary of executions for this task.