tartarus created FLINK-28457: -------------------------------- Summary: Flink add JobStatusHook support Key: FLINK-28457 URL: https://issues.apache.org/jira/browse/FLINK-28457 Project: Flink Issue Type: Sub-task Reporter: tartarus
{code:java} /** * Hooks provided by users on job status changing. */ @Internal public interface JobStatusHook extends Serializable { /** When Job become CREATED status. It would only be called one time. */ void onCreated(JobID jobId); /** When job finished successfully. */ void onFinished(JobID jobId); /** When job failed finally. */ void onFailed(JobID jobId, Throwable throwable); /** When job get canceled by users. */ void onCanceled(JobID jobId); } {code} Introduce JM-side execution state change hook -- This message was sent by Atlassian Jira (v8.20.10#820010)