public String groupId() {
        return groupId;
    }
Return the group ID that failed authorization. May be null if it is not known
in the context the exception was raised in.

@return nullable groupId
clients/src/main/java/org/apache/kafka/common/errors/GroupAuthorizationException.java