@Override
    public boolean equals(final Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        final ConsumerGroupMetadata that = (ConsumerGroupMetadata) o;
        return generationId == that.generationId &&
            Objects.equals(groupId, that.groupId) &&
            Objects.equals(memberId, that.memberId) &&
            Objects.equals(groupInstanceId, that.groupInstanceId);
    }
A metadata struct containing the consumer group information.
Note: Any change to this class is considered public and requires a KIP.
clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerGroupMetadata.java