CdcStrategy(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The strategy that the stream uses for CDC replication.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
most_recent_start_position |
google.cloud.datastream_v1.types.CdcStrategy.MostRecentStartPosition
Optional. Start replicating from the most recent position in the source. This field is a member of oneof _ start_position .
|
next_available_start_position |
google.cloud.datastream_v1.types.CdcStrategy.NextAvailableStartPosition
Optional. Resume replication from the next available position in the source. This field is a member of oneof _ start_position .
|
specific_start_position |
google.cloud.datastream_v1.types.CdcStrategy.SpecificStartPosition
Optional. Start replicating from a specific position in the source. This field is a member of oneof _ start_position .
|
Classes
MostRecentStartPosition
MostRecentStartPosition(mapping=None, *, ignore_unknown_fields=False, **kwargs)
CDC strategy to start replicating from the most recent position in the source.
NextAvailableStartPosition
NextAvailableStartPosition(mapping=None, *, ignore_unknown_fields=False, **kwargs)
CDC strategy to resume replication from the next available position in the source.
SpecificStartPosition
SpecificStartPosition(mapping=None, *, ignore_unknown_fields=False, **kwargs)
CDC strategy to start replicating from a specific position in the source.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields