hachikuji commented on code in PR #15671:
URL: https://github.com/apache/kafka/pull/15671#discussion_r1589667403


##########
raft/src/main/java/org/apache/kafka/snapshot/RecordsSnapshotWriter.java:
##########
@@ -216,4 +140,132 @@ private void appendBatches(List<CompletedBatch<T>> 
batches) {
             batches.forEach(CompletedBatch::release);
         }
     }
+
+    final public static class Builder {
+        private long lastContainedLogTimestamp = 0;
+        private CompressionType compressionType = CompressionType.NONE;
+        private Time time = Time.SYSTEM;
+        private int maxBatchSize = 1024;
+        private MemoryPool memoryPool = MemoryPool.NONE;
+        private short kraftVersion = 0;

Review Comment:
   Why would we want most tests to use an older version?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to