long remainingBackoffMs(final long currentTimeMs) {
        long timeSinceLastReceiveMs = currentTimeMs - this.lastReceivedMs;
        return Math.max(0, backoffMs - timeSinceLastReceiveMs);
    }
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