DataStream v1 API - Class CdcStrategy (2.8.0)

public sealed class CdcStrategy : IMessage<CdcStrategy>, IEquatable<CdcStrategy>, IDeepCloneable<CdcStrategy>, IBufferMessage, IMessage

Reference documentation and code samples for the DataStream v1 API class CdcStrategy.

The strategy that the stream uses for CDC replication.

Inheritance

object > CdcStrategy

Namespace

Google.Cloud.Datastream.V1

Assembly

Google.Cloud.Datastream.V1.dll

Constructors

CdcStrategy()

public CdcStrategy()

CdcStrategy(CdcStrategy)

public CdcStrategy(CdcStrategy other)
Parameter
Name Description
other CdcStrategy

Properties

MostRecentStartPosition

public CdcStrategy.Types.MostRecentStartPosition MostRecentStartPosition { get; set; }

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

Property Value
Type Description
CdcStrategyTypesMostRecentStartPosition

NextAvailableStartPosition

public CdcStrategy.Types.NextAvailableStartPosition NextAvailableStartPosition { get; set; }

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

Property Value
Type Description
CdcStrategyTypesNextAvailableStartPosition

SpecificStartPosition

public CdcStrategy.Types.SpecificStartPosition SpecificStartPosition { get; set; }

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

Property Value
Type Description
CdcStrategyTypesSpecificStartPosition

StartPositionCase

public CdcStrategy.StartPositionOneofCase StartPositionCase { get; }
Property Value
Type Description
CdcStrategyStartPositionOneofCase