@Override
        public String toString() {
            String remainingMs;

            if (timer != null) {
                timer.update();
                remainingMs = String.valueOf(timer.remainingMs());
            } else {
                remainingMs = "<not set>";
            }

            return "UnsentRequest{" +
                    "requestBuilder=" + requestBuilder +
                    ", handler=" + handler +
                    ", node=" + node +
                    ", remainingMs=" + remainingMs +
                    '}';
        }
Check if the code is disconnected and unavailable for immediate reconnection (i.e. if it is in reconnect
backoff window following the disconnect).
clients/src/main/java/org/apache/kafka/clients/consumer/internals/NetworkClientDelegate.java