Cdf Status
The read-only replication status of a single Postgres table replicated under a CdfConfig. One status exists per replicated table. It is created automatically and cannot be modified.
CdfStatus object
The read-only replication status of a single Postgres table replicated under a CdfConfig. One status exists per replicated table. It is created automatically and cannot be modified.
- namestringBetaIDImmutable
Output only. The full resource name of the CdfStatus. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status} The {cdf_status} segment is the Postgres table name.
- postgres_tablestringBetaOutput only
The Postgres table being replicated.
- uc_tablestringBetaOutput only
The Unity Catalog table receiving replicated data.
- statestringBetaOutput only
The current replication state of this table.
CDF_STATE_UNSPECIFIEDCDF_STATE_SNAPSHOTTINGCDF_STATE_STREAMINGCDF_STATE_TERMINATEDCDF_STATE_SKIPPED
- committed_lsnstringBetaOutput only
The high-watermark Log Sequence Number (LSN) committed to Delta Lake.
- last_sync_timestringBetaOutput only
The last time changes for this table were written to Delta Lake.
- create_timestringBetaOutput only
When replication for this table was first established.
- status_detailstringBetaOutput only
Human-readable detail for the current state (e.g. the skip/error reason). Empty for healthy states.
Get a change data feed status Beta
GET
Get the CDF status of a single table within a Lakebase CDF configuration, including its current state and the last committed position in the feed.
API scopes: postgres
Parameters
- namestringRequiredpath
The resource name of the CdfStatus to retrieve. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}/cdf-statuses/{cdf_status}
Response
Returns the CdfStatus object.
List change data feed statuses Beta
GET
List the per-table CDF statuses within a Lakebase CDF configuration. Each status shows whether a table's change data feed is snapshotting, streaming, or skipped.
API scopes: postgres
Parameters
- parentstringRequiredpath
The parent CdfConfig to list CdfStatuses for. Format: projects/{project}/branches/{branch}/databases/{database}/cdf-configs/{cdf_config}
- page_sizeint32query
Maximum number of CdfStatuses to return.
- page_tokenstringquery
Pagination token returned by a previous ListCdfStatuses call. Empty on the first page.
Response
Returns a list of CdfStatus objects.