jsancio commented on a change in pull request #9512: URL: https://github.com/apache/kafka/pull/9512#discussion_r534581287
########## File path: raft/src/test/java/org/apache/kafka/raft/MockLog.java ########## @@ -472,4 +489,110 @@ private EpochStartOffset(int epoch, long startOffset) { } } + final class MockRawSnapshotWriter implements RawSnapshotWriter { + private final OffsetAndEpoch snapshotId; + private ByteBuffer data; Review comment: Cool. Yeah, let's use that. So many util goodies. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org