philipnee opened a new pull request, #14532:
URL: https://github.com/apache/kafka/pull/14532

   Several places in the code, we relies on making a system time call to get 
the response time.  This is not ideal because these system calls can add up.  
Instead, time is already retrieved on the top of the background thread event 
loop, which is then propagate into the NetworkClientDelegate.poll.
   
   We want to use that timestamp when we need to fail a request.


-- 
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

Reply via email to