Kirk True created KAFKA-19564: --------------------------------- Summary: Close Consumer in ConsumerPerformance only after metrics displayed Key: KAFKA-19564 URL: https://issues.apache.org/jira/browse/KAFKA-19564 Project: Kafka Issue Type: Bug Components: tools Affects Versions: 4.1.0 Reporter: Kirk True Assignee: Kirk True Fix For: 4.2.0
In {{ConsumerPerformance}} (used by {{kafka-consumer-perf-test.sh}}), the metrics are shown, but only after the {{Consumer}} has been closed. Because metrics are removed from the {{Metrics}} object on {{Consumer.close()}}, this means that the complete set of metrics is not displayed when the performance tool outputs the metrics. -- This message was sent by Atlassian Jira (v8.20.10#820010)