public List<ApiMessageAndVersion> allRecords() {
        return shared.allRecords();
    }
Return all records in the log as a list.
metadata/src/test/java/org/apache/kafka/metalog/LocalLogManagerTestEnv.java