CDC Connectors for Apache Flink®
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Junbo wang b6cfbccd36
[hotfix][docs] Correct example configuration for Paimon warehouse path
9 months ago
.github [release] Update version to 3.2-SNAPSHOT 9 months ago
.idea [FLINK-34180] Migrate doc website from ververica to flink (#3028) 11 months ago
docs [hotfix][docs] Correct example configuration for Paimon warehouse path 9 months ago
flink-cdc-cli [FLINK-34648][cdc] Avoid RPC timeout when applying SchemaChangeEvent to downstream external systems 9 months ago
flink-cdc-common [FLINK-34648][cdc] Avoid RPC timeout when applying SchemaChangeEvent to downstream external systems 9 months ago
flink-cdc-composer [FLINK-34648][cdc] Avoid RPC timeout when applying SchemaChangeEvent to downstream external systems 9 months ago
flink-cdc-connect [FLINK-35274][cdc-connector][db2] Fix occasional failure issue with Flink CDC Db2 UT 9 months ago
flink-cdc-dist [FLINK-34959][cdc] Update old flink-cdc-connectors artifactId (#3200) 10 months ago
flink-cdc-e2e-tests [FLINK-35264][cdc][runtime] Fix multiple transform rules do not take effect (#3280) 9 months ago
flink-cdc-runtime [FLINK-35264][cdc][runtime] Fix multiple transform rules do not take effect (#3280) 9 months ago
tools [hotfix][cdc][tools] Change file mode to 755 to allow executing release script (#3249) 9 months ago
.asf.yaml [FLINK-34664][cdc] Add .asf.yaml file for project 11 months ago
.dlc.json [FLINK-34732][cdc][ci] Add document dead link check for Flink CDC Documentation (#3168) 10 months ago
.gitignore [build] Use flink-shaded-force-shading to force all submodules to generate dependency-reduced-pom.xml 1 year ago
.gitmodules [FLINK-34180] Migrate doc website from ververica to flink (#3028) 11 months ago
LICENSE [hotfix][cdc][docs] Update LICENSE file 11 months ago
NOTICE [FLINK-34183][cdc][license] Update NOTICE files (#3107) 11 months ago
README.md [minor][cdc][docs] Improve the indentation of the example yaml in README file 10 months ago
pom.xml [release] Update version to 3.2-SNAPSHOT 9 months ago

README.md

Flink CDC

Test Release Build License

Flink CDC is a distributed data integration tool for real time data and batch data. Flink CDC brings the simplicity and elegance of data integration via YAML to describe the data movement and transformation in a Data Pipeline.

The Flink CDC prioritizes efficient end-to-end data integration and offers enhanced functionalities such as full database synchronization, sharding table synchronization, schema evolution and data transformation.

Flink CDC framework desigin

Getting Started

  1. Prepare a Apache Flink cluster and set up FLINK_HOME environment variable.
  2. Download Flink CDC tar, unzip it and put jars of pipeline connector to Flink lib directory.
  3. Create a YAML file to describe the data source and data sink, the following example synchronizes all tables under MySQL app_db database to Doris :
  source:
     type: mysql
     name: MySQL Source
     hostname: 127.0.0.1
     port: 3306
     username: admin
     password: pass
     tables: adb.\.*
     server-id: 5401-5404
  
  sink:
    type: doris
    name: Doris Sink
    fenodes: 127.0.0.1:8030
    username: root
    password: pass
  
  pipeline:
     name: MySQL to Doris Pipeline
     parallelism: 4
  1. Submit pipeline job using flink-cdc.sh script.
 bash bin/flink-cdc.sh /path/mysql-to-doris.yaml
  1. View job execution status through Flink WebUI or downstream database.

Try it out yourself with our more detailed tutorial. You can also see connector overview to view a comprehensive catalog of the connectors currently provided and understand more detailed configurations.

Join the Community

There are many ways to participate in the Apache Flink CDC community. The mailing lists are the primary place where all Flink committers are present. For user support and questions use the user mailing list. If you've found a problem of Flink CDC, please create a Flink jira and tag it with the Flink CDC tag.
Bugs and feature requests can either be discussed on the dev mailing list or on Jira.

Contributing

Welcome to contribute to Flink CDC, please see our Developer Guide and APIs Guide.

License

Apache 2.0 License.

Special Thanks

The Flink CDC community welcomes everyone who is willing to contribute, whether it's through submitting bug reports, enhancing the documentation, or submitting code contributions for bug fixes, test additions, or new feature development.
Thanks to all contributors for their enthusiastic contributions.