@Override
        public int compare(byte[] buffer1, byte[] buffer2) {
            return compare(buffer1, 0, buffer1.length, buffer2, 0, buffer2.length);
        }
A byte array comparator based on lexicograpic ordering.
clients/src/main/java/org/apache/kafka/common/utils/Bytes.java