public ConsumerGroupMetadata groupMetadata() {
        return groupMetadata;
    }
Return the consumer group metadata.

@return the current consumer group metadata
clients/src/main/java/org/apache/kafka/clients/consumer/internals/ConsumerCoordinator.java