You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kirk True (Jira)" <ji...@apache.org> on 2025/07/23 23:12:00 UTC

[jira] [Created] (KAFKA-19543) The set of metrics returned from Consumer.metrics() changes after Consumer.close()

Kirk True created KAFKA-19543:
---------------------------------

             Summary: The set of metrics returned from Consumer.metrics() changes after Consumer.close()
                 Key: KAFKA-19543
                 URL: https://issues.apache.org/jira/browse/KAFKA-19543
             Project: Kafka
          Issue Type: Bug
          Components: clients, consumer
    Affects Versions: 4.1.0
            Reporter: Kirk True
            Assignee: Kirk True


metrics() reflects the current state, so if you get the metrics before you close and then look at them afterward, some of the metrics are missing because some were removed.




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