public void onSuccessfulAttempt(final long currentTimeMs) {
        this.requestInFlight = false;
        this.lastReceivedMs = currentTimeMs;
        this.backoffMs = exponentialBackoff.backoff(0);
        this.numAttempts = 0;
    }
Callback invoked after a successful send. This resets the number of attempts
to 0, but the minimal backoff will still be enforced prior to allowing a new
send. To send immediately, use {@link #reset()}.

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