Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CdcStrategy

import type { CdcStrategy } from "https://googleapis.deno.dev/v1/datastream:v1.ts";

The strategy that the stream uses for CDC replication.

interface CdcStrategy {
mostRecentStartPosition?: MostRecentStartPosition;
nextAvailableStartPosition?: NextAvailableStartPosition;
specificStartPosition?: SpecificStartPosition;
}

§Properties

§
mostRecentStartPosition?: MostRecentStartPosition
[src]

Optional. Start replicating from the most recent position in the source.

§
nextAvailableStartPosition?: NextAvailableStartPosition
[src]

Optional. Resume replication from the next available position in the source.

§
specificStartPosition?: SpecificStartPosition
[src]

Optional. Start replicating from a specific position in the source.