private boolean needUpdate(ScheduleInfo scheduleInfo) {
        if (scheduleInfo == null) {
            return false;
        }
        ScheduleInfo existedSchedule = getScheduleInfo(scheduleInfo.getInlongGroupId());
        return !scheduleInfo.equals(existedSchedule);
    }
There are three places may trigger resister schedule info to schedule engine:
- 1. new group approved with schedule info
- 2. new schedule info for an exist approved inlong group added
- 3. group's schedule info updated
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/schedule/ScheduleOperatorImpl.java