[ 
https://issues.apache.org/jira/browse/KAFKA-19564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18010963#comment-18010963
 ] 

Jimmy Wang commented on KAFKA-19564:
------------------------------------

Hi [~kirktrue], I think I could help with this issue if you haven't start to 
handle it. 

> 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: clients, consumer, tools
>    Affects Versions: 4.1.0
>            Reporter: Kirk True
>            Assignee: Kirk True
>            Priority: Minor
>             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)

Reply via email to