kirktrue commented on code in PR #16031:
URL: https://github.com/apache/kafka/pull/16031#discussion_r1626759390


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/CommitRequestManager.java:
##########
@@ -875,8 +872,12 @@ private void handleClientResponse(final ClientResponse 
response,
 
         abstract void onResponse(final ClientResponse response);
 
-        boolean retryTimeoutExpired(long currentTimeMs) {
-            return expirationTimeMs.isPresent() && expirationTimeMs.get() <= 
currentTimeMs;
+        /**
+         * If at least one attempt has been sent, and the user-provided 
timeout has elapsed, consider the
+         * request as expired.
+         */
+        boolean retryTimeoutExpired() {

Review Comment:
   I solved it by removing the method altogether 😉 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to