public JobStatus getJobStatus(FlinkInfo flinkInfo) throws Exception {
        Configuration configuration = getFlinkConfiguration(flinkInfo.getEndpoint());
        return getFlinkClientService(configuration).getJobStatus(flinkInfo.getJobId());
    }
Get the job status by the given job id.
inlong-manager/manager-plugins/base/src/main/java/org/apache/inlong/manager/plugin/flink/FlinkService.java