@Override
    public boolean completed() {
        return remaining <= 0 && !pending;
    }
A send backed by an array of byte buffers
clients/src/main/java/org/apache/kafka/common/network/ByteBufferSend.java