@Override
    public void close() {
        writer.close();
    }
Delegates the call to the internal writer and invokes the callback on success.
raft/src/main/java/org/apache/kafka/snapshot/NotifyingRawSnapshotWriter.java