CancelJob
CancelJob
yaml
type: "io.kestra.plugin.flink.CancelJob"Examples
yaml
id: cancel-flink-job
namespace: company.team
tasks:
- id: cancel-job
type: io.kestra.plugin.flink.CancelJob
restUrl: "http://flink-jobmanager:8081"
jobId: "{{ inputs.jobId }}"
withSavepoint: true
savepointDir: "s3://flink/savepoints/canceled/{{ execution.id }}"
drainJob: true
yaml
id: force-cancel-job
namespace: company.team
tasks:
- id: force-cancel
type: io.kestra.plugin.flink.CancelJob
restUrl: "http://flink-jobmanager:8081"
jobId: "{{ inputs.jobId }}"
withSavepoint: false
Properties
jobId *Requiredstring
restUrl *Requiredstring
cancellationTimeout integerstring
Default
60drainJob booleanstring
Default
falsesavepointDir string
withSavepoint booleanstring
Default
false