[SDK reference](../../index.md) / [Models](../index.md) / [CdcStreams](index.md)

# CdcStream

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.CdcStreams`  

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

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `AllowInsertOnly` | `bool?` | `allowInsertOnly` | Accept a table without a usable replica identity as insert-only: its updates and deletes are not published. |
| `Annotations` | `Models.CdcStreams.CdcStream_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DataNotice` | `string?` | `dataNotice` | A reminder that the events can contain personal data and that the topic's access rules decide who reads them. |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `EventsPerMinute` | `long?` | `eventsPerMinute` | Events delivered in the last minute that the stream was read. |
| `EventsTotal` | `long?` | `eventsTotal` | Events delivered since the stream was made (snapshot rows included). |
| `FailureReason` | `string?` | `failureReason` | The words for `stateReason`. |
| `Format` | `string?` | `format` | PLAT_JSON (the documented envelope; the default) or DEBEZIUM_JSON (the Debezium-compatible envelope). |
| `HeartbeatSeconds` | `int?` | `heartbeatSeconds` | Seconds between heartbeat events when nothing changes: 0 for none, or 5 to 3600; 30 when not set. |
| `Labels` | `Models.CdcStreams.CdcStream_labels?` | `labels` | At most 64. |
| `Lag` | `Models.CdcStreams.CdcLag?` | `lag` | How far behind it is. |
| `LastEventTime` | `DateTimeOffset?` | `lastEventTime` | When an event was last delivered. |
| `MaxSlotLagBytes` | `long?` | `maxSlotLagBytes` | The WAL the slot may hold back, in bytes, before the stream pauses: 64 MiB to 64 GiB; 1 GiB when not set. |
| `MaxTransactionBytes` | `long?` | `maxTransactionBytes` | The 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. |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `Notices` | `List<Models.CdcStreams.CdcNotice>?` | `notices` | What the stream noticed (newest last, at most 20). |
| `Objects` | `Models.CdcStreams.CdcObjects?` | `objects` | The objects made in the database. |
| `Position` | `Models.CdcStreams.CdcPosition?` | `position` | The last position delivered. |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `ResetCount` | `int?` | `resetCount` | How many times it was reset. |
| `Snapshot` | `bool?` | `snapshot` | Whether to read the existing rows once before streaming them as `op: "r"` events; true when not set. |
| `SnapshotProgress` | `Models.CdcStreams.CdcSnapshotProgress?` | `snapshotProgress` | Snapshot progress while SNAPSHOTTING, and after. |
| `State` | `Models.CdcStreams.CdcStream_state?` | `state` | Where the stream is in its life. |
| `StateReason` | `string?` | `stateReason` | Why it is PAUSED or FAILED: LAG_LIMIT, TRANSACTION_TOO_LARGE, SLOT_LOST, NO_TABLES, PAUSED_BY_USER or DRIVER; empty otherwise. |
| `Tables` | `List<Models.CdcStreams.CdcTable>?` | `tables` | The tables to capture: 1 to 100. |
| `Topic` | `string?` | `topic` | The topic the events go to: a topic of this project and location, made first. |
| `TopicName` | `string?` | `topicName` | The full name of the topic the events go to. |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
