[ https://issues.apache.org/jira/browse/KAFKA-6853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismael Juma updated KAFKA-6853: ------------------------------- Fix Version/s: 1.1.1 2.0.0 > ResponseMetadata calculates latency incorrectly (and therefore > ZooKeeperRequestLatencyMs is incorrect) > ------------------------------------------------------------------------------------------------------ > > Key: KAFKA-6853 > URL: https://issues.apache.org/jira/browse/KAFKA-6853 > Project: Kafka > Issue Type: Bug > Components: core > Affects Versions: 1.1.0 > Reporter: Fuud > Priority: Minor > Fix For: 2.0.0, 1.1.1 > > > responseTimeMs always negative. > Currently: > {code} > case class ResponseMetadata(sendTimeMs: Long, receivedTimeMs: Long) { > def responseTimeMs: Long = sendTimeMs - receivedTimeMs > } > {code} > Should be: > {code} > case class ResponseMetadata(sendTimeMs: Long, receivedTimeMs: Long) { > def responseTimeMs: Long = receivedTimeMs - sendTimeMs > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)