public void onFailedAttempt(final long currentTimeMs) {
        this.requestInFlight = false;
        this.lastReceivedMs = currentTimeMs;
        this.backoffMs = exponentialBackoff.backoff(numAttempts);
        this.numAttempts++;
    }
Callback invoked after a failed send. The number of attempts
will be incremented, which may increase the backoff before allowing
the next send attempt.

@param currentTimeMs Current time in milliseconds
clients/src/main/java/org/apache/kafka/clients/consumer/internals/RequestState.java