@Test
    public void testMetricKeyWithEmptyName() {
        MetricName metricName = new MetricName("", "group-1A", "description",
            Collections.emptyMap());
        MetricKey metricKey = metricNamingStrategy.metricKey(metricName);

        // If there is no name, then the telemetry metric name will have dot in the end though
        // metric names always have a name.
        assertEquals("org.apache.kafka.group.1a.", metricKey.name());
        assertEquals(Collections.emptyMap(), metricKey.tags());
    }
Test metric key with mixed name and mixed tags where mixed represents combination of upper case,
lower case, numbers, hyphen, dot, underscore and special characters.
clients/src/test/java/org/apache/kafka/common/telemetry/internals/TelemetryMetricNamingConventionTest.java