All Products
Search
Document Center

AnalyticDB:Import data using DataWorks

Last Updated:Feb 28, 2026

DataWorks Data Integration reads messages from Kafka topics and writes them to AnalyticDB for MySQL tables. A batch synchronization task connects a Kafka Reader to an AnalyticDB for MySQL 3.0 Writer and runs on an exclusive resource group for Data Integration.

Prerequisites

Create a batch synchronization task

To import data from Kafka to AnalyticDB for MySQL, configure the source reader, configure the destination writer, and then create a synchronization task that connects them.

  1. Step 1: Configure the Kafka Reader

    Configure the source reader to read data from your Kafka cluster.

    For configuration details, see Kafka Reader.

  2. Step 2: Configure the AnalyticDB for MySQL 3.0 Writer

    Configure the destination writer to write data to your AnalyticDB for MySQL table.

    For configuration details, see AnalyticDB for MySQL 3.0 Writer.

  3. Step 3: Create the synchronization task

    Combine the Kafka Reader and AnalyticDB for MySQL 3.0 Writer into a data synchronization job. The codeless UI in DataWorks lets you configure the source, destination, and field mappings without writing code.

    For step-by-step instructions, see Configure a batch synchronization task by using the codeless UI.