spring-cloud-dataflow icon indicating copy to clipboard operation
spring-cloud-dataflow copied to clipboard

[task-relaunch] Allow update existing task definition

Open guoyiang opened this issue 4 years ago • 2 comments
trafficstars

Problem description: At current design, task definition is immutable. It cannot be updated once created. It creates a problem if the user has properties in task definition and it may get changed over time. e.g. csvImport --fileServer=xxx, the file server may change.

Solution description: Allow task definition to be updated, or overridden.

Description of alternatives: Delete and recreate the task definition, which is feasible today. But this approach creates a challenge on availability of task. A request to launch task may come in between after deletion but before creation. Also failures in creating new task definition may make the downtime longer.

Additional context: This comes out as part of discussion on #3962 . The idea is to use task definition to provide deployer properties and app properties, but this will require the properties can be changed easily.

Thanks!

guoyiang avatar Mar 10 '21 05:03 guoyiang

@guoyiang Adding this to the feature backlog. Thank you for the issue.
Also checkout 2.8 milestones. We have made improvements on updating deployment and app properties on the UI.

cppwfs avatar Mar 29 '21 18:03 cppwfs

See #3962 and #5053

markpollack avatar Oct 10 '22 17:10 markpollack