Switch to the Streaming API lineage flow
The Lineage flow field on the GCP lineage synchronization page determines how Collibra Data Lineage retrieves column-level lineage.
You can choose between the following lineage flows:
- Legacy (Export API): Uses the Export (
exportMetadata) API to retrieve column-level lineage. Google retires this API on November 13, 2026. After this date, synchronizations using this lineage flow can no longer retrieve column-level lineage. For more information, go to Switch GCP column lineage to the Streaming API lineage flow in Collibra Support. - Streaming API: Retrieves column-level lineage directly from the Data Lineage API. It doesn't use the
exportMetadataAPI, require a GCS bucket, or require you to request access from Google.
Both lineage flows retrieve table-level lineage in the same way. If you create only table-level lineage, you don't need to switch to the Streaming API lineage flow.
Differences between the lineage flows
The Streaming API lineage flow doesn't retrieve the following types of column-level lineage that the Legacy (Export API) lineage flow can retrieve:
- Lineage into BigQuery tables that have been deleted. However, lineage from a deleted table into a table that still exists is retrieved.
- Lineage into temporary tables, such as tables created by BigQuery scripts or third-party tools.
- Lineage into tables in projects that aren't included in the Project IDs field.
Switching lineage flows
When you switch to the Streaming API lineage flow and keep the same source ID, the first synchronization removes the column-level lineage that the Streaming API doesn't retrieve.
To retain your existing column-level lineage while switching, we recommend using a new source ID. This keeps the lineage created by the Legacy (Export API) lineage flow available as a separate data source until you remove that source.
For more information, go to About source IDs and the data source lifecycle.
Prerequisites
- The service account has the roles and permissions for the Streaming API lineage flow. For details, go to GCP lineage integration preflight checks.
- You have a global role with the Product Rights > System administration global permission.
- You have a global role that has the Manage connections and capabilities global permission, for example, Edge integration engineer.
Steps
You can switch to the Streaming API lineage flow in either of the following ways.
Option A: Reuse the existing capability and connection
- Edit the Technical Lineage for GCP capability that creates column-level lineage. In the Source ID field, enter a new source ID.
- On the synchronization page, select Streaming API in the Lineage flow field, and then synchronize the capability.
- Verify that the synchronization succeeds and that column-level lineage appears in the technical lineage viewer.
- After 30 days, remove the old data source by using the Ignore sources admin option, and then synchronize.
Google keeps lineage for 30 days. After this period, the old data source no longer contains lineage that the Legacy (Export API) lineage flow can retrieve.
Option B: Create a new connection and capability
- Create a GCP connection.
- Add a Technical Lineage for GCP capability with a new source ID.
- On the synchronization page, select Streaming API in the Lineage flow field, and then synchronize the capability.
- Verify that the synchronization succeeds and that column-level lineage appears in the technical lineage viewer.
- After 30 days, delete the old capability.
- Remove the old data source by using the Ignore sources admin option, and then synchronize.