Prerequisites
- Binary logging enabled with row-based format. See:
- A user with the following privileges on the target source(s):
- Tables must use the InnoDB storage engine — MyISAM and other engines do not support transactional CDC reliably. Non-InnoDB tables are disabled in the table selection.
Key Features
- Real-time Change Data Capture (CDC): the MySQL Source Connector employs a CDC mechanism using the native MySQL binlog, capturing and streaming changes (inserts, updates, and deletes) as they occur in your database.
- Fault-tolerant and Scalable: The MySQL Source Connector is built with fault tolerance and scalability in mind. It is capable of resuming data replication from the last known offset in case of failures, ensuring data consistency and minimal downtime.
- Initial Load: The connector automatically performs an initial full table load.
- Advanced Filtering: The MySQL Source Connector provides a range of filtering options, including table and schema filters, allowing you to selectively replicate specific tables and schemas based on your needs.
Configuration
| Field | Required | Description |
|---|---|---|
| Host | Yes | Hostname or IP address of the MySQL server |
| Port | Yes | TCP port (default 3306) |
| Database | Yes | Database name to connect to |
| User / Password | Yes | Credentials with replication and read access |
Advanced Options
| Field | Default | Description |
|---|---|---|
| Use TLS | true | Encrypts the connection to MySQL |
| Trust Server Certificate | true | Skips certificate verification — useful for self-signed certificates |
| Initial Load | true | Full snapshot of existing data before streaming binlog events; recommended for first-time setup |
Connecting through an SSH Tunnel
If the database is only reachable through a bastion host, enable SSH Tunnel and provide:| Field | Required | Description |
|---|---|---|
| SSH Host | Yes | Hostname or IP of the bastion host |
| SSH Port | Yes | SSH port (default 22) |
| SSH User | Yes | User to authenticate as on the bastion |
| SSH Private Key | Yes | Base64-encoded private key for the SSH user |