jolshan commented on code in PR #13391: URL: https://github.com/apache/kafka/pull/13391#discussion_r1160895598
########## core/src/main/scala/kafka/network/RequestChannel.scala: ########## @@ -227,8 +233,9 @@ object RequestChannel extends Logging { } val requestQueueTimeMs = nanosToMs(requestDequeueTimeNanos - startTimeNanos) - val apiLocalTimeMs = nanosToMs(apiLocalCompleteTimeNanos - requestDequeueTimeNanos) - val apiRemoteTimeMs = nanosToMs(responseCompleteTimeNanos - apiLocalCompleteTimeNanos) + val callbackRequestTimeNanos = callbackRequestDequeTimeNanos.getOrElse(0L) - callbackRequestCompleteTimeNanos.getOrElse(0L) Review Comment: ooops -- good call. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org