Data ingestion templates
Flink CDC data ingestion supports real-time data synchronization and automatic synchronization of schema changes. Use a data ingestion template to quickly generate Flink CDC job code for data synchronization. This topic describes how to implement a data synchronization job by using a data ingestion template.
Background information
Flink CDC data ingestion jobs in Realtime Compute for Apache Flink support a variety of data synchronization scenarios, including automatic schema evolution, multi-database multi-table synchronization, and sharded-data merging. For more examples, see Flink CDC data ingestion best practices.
Procedure
-
Log on to the Realtime Compute for Apache Flink console.
-
In the Actions column of the target workspace, click Console.
-
On the page, click the
icon, and then click New Draft with Template.The available templates are MySQL to StarRocks data synchronization, MySQL to Paimon data synchronization, MySQL to Hologres data synchronization, Kafka to Paimon data synchronization, SLS to Paimon data synchronization, and MongoDB to StarRocks data synchronization.
-
On the New Draft tab, select a template, and then click Next in the lower-right corner.
-
Modify the Name, Location, and Engine Version as required, and then click OK.
After you click OK, the Flink CDC data ingestion development page opens. The following operations are the same as those for standard job development. For details about parameter settings and subsequent operations, see Job development overview and Start a deployment.