public static boolean notAllowedTransfer(ConsumeStatus cur, ConsumeStatus next) {
        Set<ConsumeStatus> nextSet = CONSUME_STATE_AUTOMATON.get(cur);
        return nextSet == null || !nextSet.contains(next);
    }
Check whether the current status can be transferred to the next status

@param cur current status
@param next next status
@return true if transferred, false if not
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/enums/ConsumeStatus.java