@Override
    public Map<MetricName, ? extends Metric> metrics() {
        return delegate.metrics();
    }
Get the metrics kept by the consumer
clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java