public static GroupMode forMode(String mode) {
        for (GroupMode groupMode : values()) {
            if (groupMode.getMode().equals(mode)) {
                return groupMode;
            }
        }
        throw new IllegalArgumentException(String.format("Unsupported group mode for %s", mode));
    }
DataSync mode(only Data Synchronization): offline data sync in batch way, group init only with sort
in InLong Cluster.
BatchSource -> Sort -> Sink
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/enums/GroupMode.java