MySQL integrated CDC pipelines reach general availability in Databricks
MySQL change data capture (CDC) ingestion into Databricks now runs in a single pipeline, eliminating the need for a separate ingestion gateway.
O que mudou
The integrated CDC pipeline for MySQL is now generally available (GA). It consolidates binlog extraction and change application into a single pipeline update, removing the need for a dedicated ingestion gateway.
Use cases
Imagine you need to replicate MySQL relational tables into Databricks on scheduled runs without paying for always-on compute or managing intermediate ingestion infrastructure. With integrated CDC pipelines, you can:
- Run extraction and merge stages within a single pipeline execution.
- Replicate individual tables or entire schemas through a Unity Catalog connection.
- Perform automatic full refreshes, which is not supported in legacy gateway-based setups.
How to use
You can configure the pipeline using Databricks Asset Bundles, Python SDK, Databricks CLI, or REST API. Here is an example using a bundle YAML file:
resources:
pipelines:
meu_pipeline_cdc:
name: "cdc-mysql-lakeflow"
catalog: "meu_catalogo"
schema: "bronze"
ingestion_definition:
connection_name: "conexao_mysql_uc"
connector_type: CDC
objects:
- table:
source_schema: "meu_banco"
source_table: "clientes"
destination_catalog: "meu_catalogo"
destination_schema: "bronze"
destination_table: "clientes"
table_configuration:
scd_type: "SCD_TYPE_1"
What happens in this code:
- Defines a managed pipeline referencing a MySQL connection in Unity Catalog (
conexao_mysql_uc). - Explicitly configures
connector_typeasCDCfor the source tableclientes. - Applies extracted changes to the destination streaming table in
meu_catalogo.bronzeusingSCD_TYPE_1.
Limitations and requirements
- Status: Generally Available (GA).
- Compute: Requires classic compute (recommended minimum of 8 cores for extraction). Serverless compute is not supported. The compute plane must have network connectivity to MySQL (via VPC peering, public endpoints, Direct Connect, or VPN).
- Execution mode: Runs in triggered mode by default. Continuous execution is in Beta. An execution interval of 60 minutes or longer is recommended.
- Permissions: Requires
USE CONNECTION(orCREATE CONNECTION) in Unity Catalog,USE CATALOGon destination catalog, andUSE SCHEMA,CREATE TABLE, andCREATE VOLUMEon the destination or staging schema.
Using it in a pipeline
This pipeline lands CDC changes into Bronze streaming tables inside Unity Catalog with exactly-once semantics, preparing clean records for downstream Silver and Gold medallion processing.
- databricks
- lakeflow connect
- cdc
- mysql
- unity catalog
MySQL integrated CDC pipeline is now generally available
Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.
Relacionadas
- DatabricksBeta
Conector do SurveyMonkey chega ao Lakeflow Connect no Databricks
O Lakeflow Connect agora conta com conector nativo para o SurveyMonkey em Beta, permitindo ingestão incremental de pesquisas, respostas e contatos com governança no Unity Catalog.
lakeflow connect · surveymonkey - DatabricksBeta
Lakeflow Connect adiciona conector do Oracle Eloqua em Beta
O Lakeflow Connect agora oferece um conector gerenciado em Beta para o Oracle Eloqua, permitindo ingestão incremental de dados de marketing governados pelo Unity Catalog.
lakeflow connect · oracle eloqua - DatabricksBeta
Ingira métricas do GA4 com o novo conector do Lakeflow Connect
O Lakeflow Connect ganha conector gerenciado em Beta para o Google Analytics 4, permitindo ingestão incremental de relatórios agregados via API com governança no Unity Catalog.
lakeflow connect · google analytics