@Override
        public ByteBuffer get(int size) {
            Deque<ByteBuffer> bufferQueue = bufferMap.get(size);
            if (bufferQueue == null || bufferQueue.isEmpty())
                return ByteBuffer.allocate(size);
            else
                return bufferQueue.pollFirst();
        }
Release all resources associated with this supplier.
clients/src/main/java/org/apache/kafka/common/utils/BufferSupplier.java