Reference documentation and code samples for the Google Cloud Datastream V1 Client class CdcStrategy.
The strategy that the stream uses for CDC replication.
Generated from protobuf message google.cloud.datastream.v1.CdcStrategy
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ most_recent_start_position
CdcStrategy\MostRecentStartPosition
Optional. Start replicating from the most recent position in the source.
↳ next_available_start_position
CdcStrategy\NextAvailableStartPosition
Optional. Resume replication from the next available position in the source.
↳ specific_start_position
CdcStrategy\SpecificStartPosition
Optional. Start replicating from a specific position in the source.
getMostRecentStartPosition
Optional. Start replicating from the most recent position in the source.
hasMostRecentStartPosition
setMostRecentStartPosition
Optional. Start replicating from the most recent position in the source.
$this
getNextAvailableStartPosition
Optional. Resume replication from the next available position in the source.
hasNextAvailableStartPosition
setNextAvailableStartPosition
Optional. Resume replication from the next available position in the source.
$this
getSpecificStartPosition
Optional. Start replicating from a specific position in the source.
hasSpecificStartPosition
setSpecificStartPosition
Optional. Start replicating from a specific position in the source.
$this
getStartPosition
string