Google Cloud Dataflow · Arazzo Workflow
Google Cloud Dataflow Cancel Running Job
Version 1.0.0
Confirm a job is running, request cancellation, then poll until it is cancelled.
View Spec
View on GitHub
Apache BeamBatch ProcessingBig DataData ProcessingETLStream ProcessingArazzoWorkflows
Provider
Workflows
cancel-running-job
Confirm running, request cancel, and poll until JOB_STATE_CANCELLED.
Reads a job to confirm it is running, updates its requested state to JOB_STATE_CANCELLED, then polls until it reaches JOB_STATE_CANCELLED.
1
confirmRunning
getLocationJob
Read the job and confirm it is currently in the JOB_STATE_RUNNING state before requesting cancellation.
2
requestCancel
updateLocationJob
Update the job's requested state to JOB_STATE_CANCELLED to immediately stop the pipeline and discard in-flight work.
3
pollUntilCancelled
getLocationJob
Poll the job until it reports the terminal JOB_STATE_CANCELLED state, retrying while it is still cancelling.