数据湖探索 DLI-Flink作业相关:查询作业执行计划图

时间:2025-02-12 14:54:10

查询作业执行计划图

DLI 提供查询Flink作业执行计划图的接口。您可以使用该接口查询作业的执行计划图。示例代码如下:

12345
private static void  getFlinkJobExecuteGraph(DLIClient client) throws DLIException {Long jobId = 203L;//作业ID        FlinkJobExecutePlanResponse result = client.getFlinkJobExecuteGraph(jobId);        System.out.println(result);    }
support.huaweicloud.com/sdkreference-dli/dli_04_0085.html