Gallery
Terminal Ledger Tree and Diff App Shell
Palette
Primary
Accent
Background
Card
Foreground
src/ingest/consumer.ts+41−12
@@ -108,9 +108,14 @@ export class Consumer {
108108 async resume(): Promise<void> {
109109 const cp = await this.store.read(this.group)
110- this.offset = cp?.offset ?? 0
110+ if (!cp) {
111+ throw new MissingCheckpoint(this.group)
112+ }
113+ this.offset = cp.offset
111114 this.state = 'RUNNING'
112115 }