MetricsCollector metricsCollector() {
        return kafkaMetricsCollector;
    }
Method is invoked whenever a metric is removed
clients/src/main/java/org/apache/kafka/common/telemetry/internals/ClientTelemetryReporter.java