Pipeline Connectors
Flink CDC 提供了可用于 YAML 作业的 Pipeline Source 和 Sink 连接器来与外部系统交互。您可以直接使用这些连接器,只需将 JAR 文件添加到您的 Flink CDC 环境中,并在您的 YAML Pipeline 定义中指定所需的连接器。
Supported Connectors
| 连接器 | 类型 | 支持的外部系统 | 下载链接 |
|---|---|---|---|
| Apache Doris | Sink | Apache Doris | |
| Elasticsearch | Sink | Elasticsearch | |
| Fluss | Source, Sink | Fluss | |
| Hudi | Sink | Apache Hudi | |
| Iceberg | Sink | Apache Iceberg | |
| Kafka | Sink | Kafka | |
| MaxCompute | Sink | MaxCompute | |
| MySQL | Source | MySQL | |
| OceanBase | Sink | OceanBase | |
| Oracle | Source | Oracle | |
| Paimon | Sink | Paimon | |
| Postgres | Source | Postgres | |
| SQL Server | Source | SQL Server | |
| StarRocks | Sink | StarRocks |
Supported Flink Versions
下表展示了 Flink CDC 管道连接器和 Flink 之间的版本映射:
| Flink CDC 版本 | Flink 版本 | Pipeline Source | Pipeline Sink | 备注 |
|---|---|---|---|---|
| 3.7.x | 1.20.*, 2.2.* | MySQL, PostgreSQL, Oracle, SQL Server, Fluss | StarRocks, Doris, Paimon, Kafka, Elasticsearch, OceanBase, MaxCompute, Iceberg, Fluss, Hudi | |
| 3.6.x | 1.20.*, 2.2.* | MySQL, PostgreSQL, Oracle | StarRocks, Doris, Paimon, Kafka, Elasticsearch, OceanBase, MaxCompute, Iceberg, Fluss, Hudi | |
| 3.5.x | 1.19.*, 1.20.* | MySQL, PostgreSQL | StarRocks, Doris, Paimon, Kafka, Elasticsearch, OceanBase, MaxCompute, Iceberg, Fluss | |
| 3.4.x | 1.19.*, 1.20.* | MySQL | StarRocks, Doris, Paimon, Kafka, Elasticsearch, OceanBase, MaxCompute, Iceberg | |
| 3.3.x | 1.19.*, 1.20.* | MySQL | StarRocks, Doris, Paimon, Kafka, Elasticsearch, OceanBase, MaxCompute | |
| 3.2.x | 1.17.*, 1.18.*, 1.19.* | MySQL | StarRocks, Doris, Paimon, Kafka, Elasticsearch | |
| 3.1.x | 1.17.*, 1.18.*, 1.19.* | MySQL | StarRocks, Doris, Paimon, Kafka | 仅 Flink CDC 3.1.1 支持 Flink 1.19 |
| 3.0.x | 1.17.*, 1.18.* | MySQL | StarRocks, Doris |
Develop Your Own Connector
如果现有的连接器无法满足您的需求,您可以自行开发自己的连接器,以将您的外部系统集成到 Flink CDC 数据管道中。查阅 Flink CDC APIs 了解如何开发您自己的连接器。
Copyright © 2026 The Apache Software Foundation. Apache Flink, Flink, and the Flink logo are trademarks of The Apache Software Foundation.