public static ScramMechanism fromType(byte type) {
        for (ScramMechanism scramMechanism : VALUES) {
            if (scramMechanism.type == type) {
                return scramMechanism;
            }
        }
        return UNKNOWN;
    }
@param type the type indicator
@return the instance corresponding to the given type indicator, otherwise {@link #UNKNOWN}
clients/src/main/java/org/apache/kafka/clients/admin/ScramMechanism.java