You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Lianet Magrans (Jira)" <ji...@apache.org> on 2025/09/18 21:25:00 UTC

[jira] [Created] (KAFKA-19723) Add tests for ConsumerRebalanceMetricsManager

Lianet Magrans created KAFKA-19723:
--------------------------------------

             Summary: Add tests for ConsumerRebalanceMetricsManager
                 Key: KAFKA-19723
                 URL: https://issues.apache.org/jira/browse/KAFKA-19723
             Project: Kafka
          Issue Type: Test
          Components: clients, consumer
            Reporter: Lianet Magrans


While working on KAFKA-19722  I noticed we had no test coverage for the rebalance metrics on the new consumer (this class [https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/consumer/internals/metrics/ConsumerRebalanceMetricsManager.java] )

I introduced the test file and added a test related to KAFKA-19722, but we should extend coverage and test the other rebalance metrics (ex. tests like the ones for the ShareRebalanceMetrics [https://github.com/apache/kafka/blob/trunk/clients/src/test/java/org/apache/kafka/clients/consumer/internals/metrics/ShareRebalanceMetricsManagerTest.java] )

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)