You can use DTS to retrieve incremental data from data sources in real time. This feature applies to multiple scenarios, such as cache update, business decoupling, asynchronous data processing, real-time synchronization of heterogeneous data, and real-time synchronization of complex extract, transform, and load (ETL) operations. This topic describes how to create, monitor, and manage a change tracking task.

Background information

Manage a change tracking task

The following figure shows the steps to manage a change tracking task.

Step Supported version of the change tracking feature Description
1. Prepare for change tracking New and previous Before you use DTS for change tracking, prepare the environments that are required for the source and destination databases.
2. Create a change tracking task New and previous Create a change tracking task by completing simple configurations in the DTS console.
3. Manage the change tracking task New
  • Create consumer groups

    After you configure a change tracking task, create one or more consumer groups to consume data. You can create multiple consumer groups for a change tracking task. Consumers in different consumer groups can track data changes from the same data source. Consumer groups allow you to reduce the cost for tracking data changes and improve the efficiency of data consumption.

  • Manage consumer groups

    Manage the consumer groups of the change tracking task. For example, you can modify passwords for consumer groups or delete consumer groups.

  • Modify objects for change tracking

    Change the objects whose changes are tracked when the change tracking task is running.

  • View tracked data changes

    View the data changes that DTS retrieves from the data source.

Previous
4. Consume tracked data. New Use a Kafka client to consume tracked data
Previous Use SDK to consume data
5. Stop the change tracking task New and previous If you want to stop the change tracking task, delete the task.
  • Pay-as-you-go: For information about how to stop a pay-as-you-go change tracking task, see Release an instance.
  • Subscription: A subscription change tracking task cannot be manually deleted. It will be automatically deleted seven days after the expiration date.
    Note You can also reset a change tracking task to stop the task. For more information, see Reset a change tracking task.

Examples

Overview of change tracking scenarios