pub async fn capture_stream<S>(
store: &PgStore,
stream_name: &str,
tenant: &str,
object: &ObjectSync,
stream: S,
) -> Result<usize, ForceSyncError>Expand description
Captures a decoded CDC stream into the sync journal and checkpoints replay positions.
ยงErrors
Returns an error if Pub/Sub decoding, journal writes, or checkpoint updates fail.