MCPcopy
hub / github.com/PeerDB-io/peerdb / GetLastCheckpoint

Method GetLastCheckpoint

flow/model/cdc_stream.go:55–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (r *CDCStream[T]) GetLastCheckpoint() CdcCheckpoint {
56 if !r.lastCheckpointSet {
57 panic("last checkpoint not set, stream is still active")
58 }
59 return CdcCheckpoint{ID: r.lastCheckpointID, Text: r.lastCheckpointText}
60}
61
62func (r *CDCStream[T]) AddRecord(ctx context.Context, record Record[T]) error {
63 if !r.needsNormalize {

Callers 14

AttachToCdcStreamFunction · 0.80
pullAndSyncCoreFunction · 0.80
SyncRecordsMethod · 0.80
pullCoreFunction · 0.80
syncRecordsCoreFunction · 0.80
SyncRecordsMethod · 0.80
SyncRecordsMethod · 0.80
SyncRecordsMethod · 0.80
SyncRecordsMethod · 0.80
syncRecordsViaAvroMethod · 0.80

Calls

no outgoing calls