public JobStatus getJobStatus(String endpoint, String jobId) throws Exception {
        Configuration configuration = getFlinkConfiguration(endpoint);
        return getFlinkClientService(configuration).getJobStatus(jobId);
    }
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