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

Shivsundar R commented on KAFKA-15636:
--------------------------------------

Yes, we are calling it the average as it is for a single request. 
1. We can add one more fetch request and then calculate average.
2. Or we can compare it with bytesConsumedTotal to make it less confusing.

> Investigate FetcherTest's/FetchRequestManager's testFetchResponseMetrics
> ------------------------------------------------------------------------
>
>                 Key: KAFKA-15636
>                 URL: https://issues.apache.org/jira/browse/KAFKA-15636
>             Project: Kafka
>          Issue Type: Test
>          Components: clients, consumer, unit tests
>            Reporter: Kirk True
>            Assignee: Shivsundar R
>            Priority: Minor
>              Labels: consumer-threading-refactor, fetcher, unit-tests
>
> {{expectedBytes}} is calculated as total, instead of avg. Is this correct?



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

Reply via email to