@Override
    public long write(ByteBuffer[] srcs) throws IOException {
        return socketChannel.write(srcs);
    }
Writes a sequence of bytes to this channel from the given buffer.

@param srcs The buffer from which bytes are to be retrieved
@return The number of bytes read, possibly zero, or -1 if the channel has reached end-of-stream
@throws IOException If some other I/O error occurs
clients/src/main/java/org/apache/kafka/common/network/PlaintextTransportLayer.java