public long genTaskCode(String url, String token) {
        try {
            return DolphinScheduleUtils.genTaskCode(url, token);
        } catch (Exception e) {
            LOGGER.error("Unexpected wrong in generating task code: ", e);
            throw new DolphinScheduleException(UNEXPECTED_ERROR,
                    String.format("Unexpected wrong in generating task code: %s", e.getMessage()));
        }
    }
Generates a new task code in DolphinScheduler.
inlong-manager/manager-schedule/src/main/java/org/apache/inlong/manager/schedule/dolphinscheduler/DolphinScheduleOperator.java