kirktrue commented on code in PR #15723: URL: https://github.com/apache/kafka/pull/15723#discussion_r1583450102
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/RequestState.java: ########## @@ -98,12 +93,11 @@ public boolean canSendRequest(final long currentTimeMs) { * is a request in-flight. */ public boolean requestInFlight() { - return this.lastSentMs > -1 && this.lastReceivedMs < this.lastSentMs; + return requestInFlight; Review Comment: @philipnee—let us know if you're OK to leave the method name as is. Thanks! -- 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