@Override
    public int lastContainedLogEpoch() {
        return snapshot.snapshotId().epoch();
    }
Adds a {@link SnapshotFooterRecord} to the snapshot

No more records should be appended to the snapshot after calling this method
raft/src/main/java/org/apache/kafka/snapshot/RecordsSnapshotWriter.java