You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Wenbing Shen (Jira)" <ji...@apache.org> on 2021/03/10 05:27:00 UTC

[jira] [Created] (KAFKA-12445) Improve the display of ConsumerPerformance indicators

Wenbing Shen created KAFKA-12445:
------------------------------------

             Summary: Improve the display of ConsumerPerformance indicators
                 Key: KAFKA-12445
                 URL: https://issues.apache.org/jira/browse/KAFKA-12445
             Project: Kafka
          Issue Type: Improvement
          Components: tools
    Affects Versions: 2.7.0
            Reporter: Wenbing Shen


The current test indicators are shown below, the user experience is poor, and there is no intuitive display of the meaning of each indicator.

bin/kafka-consumer-perf-test.sh --broker-list localhost:9092 --topic test-perf10 --messages 40000 --from-latest

start.time, end.time, data.consumed.in.MB, MB.sec, data.consumed.in.nMsg, nMsg.sec, rebalance.time.ms, fetch.time.ms, fetch.MB.sec, fetch.nMsg.sec
2021-03-10 04:32:54:349, 2021-03-10 04:33:45:651, 390.6348, 7.6144, 40001, 779.7162, 3096, 48206, 8.1034, 829.7930

 

show-detailed-stats:

bin/kafka-consumer-perf-test.sh --broker-list localhost:9092 --topic test-perf --messages 100000000 --show-detailed-stats

time, threadId, data.consumed.in.MB, MB.sec, data.consumed.in.nMsg, nMsg.sec, rebalance.time.ms, fetch.time.ms, fetch.MB.sec, fetch.nMsg.sec
2021-03-10 11:19:00:146, 0, 785.6112, 157.1222, 823773, 164754.6000, 1615346338626, -1615346333626, 0.0000, 0.0000
2021-03-10 11:19:05:146, 0, 4577.7817, 758.4341, 4800152, 795275.8000, 0, 5000, 758.4341, 795275.8000
2021-03-10 11:19:10:146, 0, 8556.0875, 795.6612, 8971708, 834311.2000, 0, 5000, 795.6612, 834311.2000
2021-03-10 11:19:15:286, 0, 9526.5665, 188.8091, 9989329, 197980.7393, 0, 5140, 188.8091, 197980.7393
2021-03-10 11:19:20:310, 0, 9536.3321, 1.9438, 9999569, 2038.2166, 0, 5024, 1.9438, 2038.2166

 

One of the optimization methods is to display the indicator variable name and indicator test value in the form of a table, so that the meaning of each measurement value can be clearly expressed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)