public boolean hasUnsentRequests() {
        return unsentRequests.iterator().hasNext();
    }
An inter-broker send thread that utilizes a non-blocking network client.
server-common/src/main/java/org/apache/kafka/server/util/InterBrokerSendThread.java