@Test
    public void testDerivedMetricKeyWithBlankComponent() {
        MetricName metricName = new MetricName("name", "group", "description",
            Collections.emptyMap());
        MetricKey metricKey = metricNamingStrategy.derivedMetricKey(
            metricNamingStrategy.metricKey(metricName), "");

        // Ends with dot, though derived component should not be blank, omitting the check in the code.
        assertEquals("org.apache.kafka.group.name.", 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