Class ClusterLinkMetricsUtilsTest

java.lang.Object
org.apache.kafka.server.link.ClusterLinkMetricsUtilsTest

public class ClusterLinkMetricsUtilsTest extends Object
  • Constructor Details

    • ClusterLinkMetricsUtilsTest

      public ClusterLinkMetricsUtilsTest()
  • Method Details

    • setUp

      @BeforeEach public void setUp()
    • tearDown

      @AfterEach public void tearDown()
    • testActiveLinkCountMetric

      @Test public void testActiveLinkCountMetric()
      All cluster link metrics have been updated to use Kafka Uuid String format for the link-id tag. But we are retaining legacy Java UUID format for `active-link-count` metric that is used for billing to avoid double-counting links during the first roll after the change.