public static GroupType parse(String name) {
            if (name == null) {
                return UNKNOWN;
            }
            GroupType type = NAME_TO_ENUM.get(name.toLowerCase(Locale.ROOT));

            return type == null ? UNKNOWN : type;
        }
Parse a string into the corresponding {@code GroupType} enum value, in a case-insensitive manner.

@return The {{@link GroupType}} according to the string passed. Unknown group type is returned if
the string doesn't correspond to a valid group type.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/Group.java