@Override
    public void reconfigure(Map<String, ?> configs) {
        synchronized (LOCK) {
            this.mbeanPredicate = JmxReporter.compilePredicate(configs);

            mbeans.forEach((name, mbean) -> {
                if (mbeanPredicate.test(name)) {
                    reregister(mbean);
                } else {
                    unregister(mbean);
                }
            });
        }
    }
Create a JMX reporter that prefixes all metrics with the given string.
 @deprecated Since 2.6.0. Use {@link JmxReporter#JmxReporter()}
 Initialize JmxReporter with {@link JmxReporter#contextChange(MetricsContext)}
 Populate prefix by adding _namespace/prefix key value pair to {@link MetricsContext}
clients/src/main/java/org/apache/kafka/common/metrics/JmxReporter.java