alok123t commented on code in PR #13772: URL: https://github.com/apache/kafka/pull/13772#discussion_r1210872444
########## raft/src/main/java/org/apache/kafka/snapshot/Snapshots.java: ########## @@ -151,4 +155,24 @@ public static Path markForDelete(Path logDir, OffsetAndEpoch snapshotId) { ); } } + + public static long lastContainedLogTimestamp(RawSnapshotReader reader) { + try (RecordsSnapshotReader<ByteBuffer> recordsSnapshotReader = + RecordsSnapshotReader.of( + reader, + new IdentitySerde(), Review Comment: done in https://github.com/apache/kafka/pull/13772/commits/b10d32c85c9047b15d355239c44da62d9921bb6d -- 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