public Builder setPath(String path) {
            this.path = Objects.requireNonNull(path);
            return this;
        }
Reads a log file containing KRaft record batches.
metadata/src/main/java/org/apache/kafka/metadata/util/BatchFileReader.java