Class S3FileJournal

java.lang.Object
io.leandev.appfuse.file.s3.S3FileJournal
All Implemented Interfaces:
FileJournal

public class S3FileJournal extends Object implements FileJournal

S3 的 FileJournal 實作

S3 物件不支援 append,故採「一筆事件一個物件」(append-safe):

{keyPrefix}/journal/{partition}/{epochMillis}-{uuid}

物件內容為 JournalLineCodec 序列化的單行。readEntries 以 ListObjectsV2 列出後逐一 GET。