public static RecordVersion lookup(byte value) {
        if (value < 0 || value >= VALUES.length)
            throw new IllegalArgumentException("Unknown record version: " + value);
        return VALUES[value];
    }
Check whether this version precedes another version.

@return true only if the magic value is less than the other's
clients/src/main/java/org/apache/kafka/common/record/RecordVersion.java