SDK reference / Models / CdcStreams

CdcStream

Kind: class

Namespace: Egulu.Sdk.Models.CdcStreams

A change stream over some tables of one database of a cluster.

Properties

NameTypeJSON nameDescription
AllowInsertOnlybool?allowInsertOnlyAccept a table without a usable replica identity as insert-only: its updates and deletes are not published.
AnnotationsModels.CdcStreams.CdcStream_annotations?annotationsAt most 256 KiB in all; never policy input.
CreateTimeDateTimeOffset?createTimeThe createTime property
DataNoticestring?dataNoticeA reminder that the events can contain personal data and that the topic's access rules decide who reads them.
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
EventsPerMinutelong?eventsPerMinuteEvents delivered in the last minute that the stream was read.
EventsTotallong?eventsTotalEvents delivered since the stream was made (snapshot rows included).
FailureReasonstring?failureReasonThe words for `stateReason`.
Formatstring?formatPLAT_JSON (the documented envelope; the default) or DEBEZIUM_JSON (the Debezium-compatible envelope).
HeartbeatSecondsint?heartbeatSecondsSeconds between heartbeat events when nothing changes: 0 for none, or 5 to 3600; 30 when not set.
LabelsModels.CdcStreams.CdcStream_labels?labelsAt most 64.
LagModels.CdcStreams.CdcLag?lagHow far behind it is.
LastEventTimeDateTimeOffset?lastEventTimeWhen an event was last delivered.
MaxSlotLagByteslong?maxSlotLagBytesThe WAL the slot may hold back, in bytes, before the stream pauses: 64 MiB to 64 GiB; 1 GiB when not set.
MaxTransactionByteslong?maxTransactionBytesThe largest transaction the stream holds, in bytes: 1 MiB to 256 MiB; 64 MiB when not set. A larger one stops the stream before it.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
NoticesList<Models.CdcStreams.CdcNotice>?noticesWhat the stream noticed (newest last, at most 20).
ObjectsModels.CdcStreams.CdcObjects?objectsThe objects made in the database.
PositionModels.CdcStreams.CdcPosition?positionThe last position delivered.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
ResetCountint?resetCountHow many times it was reset.
Snapshotbool?snapshotWhether to read the existing rows once before streaming them as `op: "r"` events; true when not set.
SnapshotProgressModels.CdcStreams.CdcSnapshotProgress?snapshotProgressSnapshot progress while SNAPSHOTTING, and after.
StateModels.CdcStreams.CdcStream_state?stateWhere the stream is in its life.
StateReasonstring?stateReasonWhy it is PAUSED or FAILED: LAG_LIMIT, TRANSACTION_TOO_LARGE, SLOT_LOST, NO_TABLES, PAUSED_BY_USER or DRIVER; empty otherwise.
TablesList<Models.CdcStreams.CdcTable>?tablesThe tables to capture: 1 to 100.
Topicstring?topicThe topic the events go to: a topic of this project and location, made first.
TopicNamestring?topicNameThe full name of the topic the events go to.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property