@Override
    public int hashCode() {
        return Objects.hash(groupId, isSimpleConsumerGroup(), state, type);
    }
The type of the consumer group.

@return An Optional containing the type, if available.
clients/src/main/java/org/apache/kafka/clients/admin/ConsumerGroupListing.java