philipnee commented on code in PR #14305:
URL: https://github.com/apache/kafka/pull/14305#discussion_r1309342900


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/RequestState.java:
##########
@@ -66,13 +65,19 @@ public boolean canSendRequest(final long currentTimeMs) {
             return true;
         }
 
-        if (this.lastReceivedMs == -1 ||
-                this.lastReceivedMs < this.lastSentMs) {
-            // there is an inflight request
+        if (this.lastReceivedMs == -1 || this.lastReceivedMs < 
this.lastSentMs) {
+            log.debug("An inflight request already exists; lastReceivedMs: {}, 
lastSentMs:  {}", lastReceivedMs, lastSentMs);

Review Comment:
   i actually wonder if the debug would be useful due to lack of the 
information of what request it is.  maybe this log should stay at the request 
manager level?



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