FrankYang0529 commented on code in PR #17199: URL: https://github.com/apache/kafka/pull/17199#discussion_r1850055837
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/NetworkClientDelegate.java: ########## @@ -267,7 +275,9 @@ public void addAll(final List<UnsentRequest> requests) { public void add(final UnsentRequest r) { Objects.requireNonNull(r); r.setTimer(this.time, this.requestTimeoutMs); + r.setEnqueuedMs(this.time.milliseconds()); Review Comment: After discussing with @lianetm, we may just want to record unsent request size at the end of `poll`, so I remove the metrics update here. https://github.com/apache/kafka/pull/17199#discussion_r1849097694 -- 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