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)