Class PipelineExecutorUtils


  • public class PipelineExecutorUtils
    extends Object
    Utility class with method related to job execution.
    • Constructor Detail

      • PipelineExecutorUtils

        public PipelineExecutorUtils()
    • Method Detail

      • notifyJobStatusListeners

        public static void notifyJobStatusListeners​(@Nonnull
                                                    org.apache.flink.api.dag.Pipeline pipeline,
                                                    @Nonnull
                                                    org.apache.flink.streaming.api.graph.ExecutionPlan executionPlan,
                                                    List<org.apache.flink.core.execution.JobStatusChangedListener> listeners)
        Notify the DefaultJobCreatedEvent to job status changed listeners.
        Parameters:
        pipeline - the pipeline that contains lineage graph information.
        executionPlan - executionPlan that contains job basic info
        listeners - the list of job status changed listeners
      • getStreamGraph

        public static org.apache.flink.streaming.api.graph.StreamGraph getStreamGraph​(@Nonnull
                                                                                      org.apache.flink.api.dag.Pipeline pipeline,
                                                                                      @Nonnull
                                                                                      org.apache.flink.configuration.Configuration configuration)
                                                                               throws Exception
        Throws:
        Exception