This document describes how to manage tasks in the TDMQ for CKafka (CKafka) console, including pausing, starting, restarting, recreating, replicating, and deleting tasks.
Editing a Data Source
2. On the Task List page, click the ID of the target task to go to the basic task information page. 3. Click Change Data Source in the upper-right corner of the Data Source module and modify data source information.
Editing a Data Target
2. On the Task List page, click the ID of the target task to go to the basic task information page. 3. Click Change Data Target in the upper-right corner of the Data Target module and modify data target information.
Pausing a Task
On the Task List page, choose More > Pause Task in the Operation column of the target task. After confirmation, you can pause the task. Note:
If you find that a data task has affected the normal service of CKafka, you can pause it.
Starting a Task
On the Task List page, choose More > Start Task in the Operation column of the target task. After confirmation, you can resume the paused task. Note:
Tasks in the Paused status can be restarted, after which data will continue to be dumped.
Restarting a Task
On the Task List page, choose More > Restart Task in the Operation column of the target task. After confirmation, you can restart the task. Note:
Tasks in the Abnormal status can be restarted. Restarting a task means starting it over and will not affect the dumped data and related CKafka instances.
Recreating a Task
Misconfigurations might cause the failure to create a task. Users can manually recreate a task.
1. On the Task List page, choose More > Recreate Task in the Operation column of the target task to go to the task setup page. 2. Specify a new task name, edit the data target, and click Submit to complete task recreation.
Replicating a Task
When you have a large number of tasks with similar configurations, after successfully creating the first task, you can duplicate it using the replication feature.
Note:
When creating or replicating a task, you cannot create a data task with the same data source and data target.
1. On the Task List page, choose More > Copy Task in the Operation column of the target task to go to the task setup page. 2. Specify a new task name, edit the data target, and click Submit to complete task recreation.
Deleting a Task
On the Task List page, click Delete in the Operation column of the target task, and click Delete in the confirmation pop-up window to delete the task. Note:
Deleting a task means stopping data access and deleting task records, and will not affect the dumped data or related CKafka instances.
Once a task is deleted, it cannot be recovered. Proceed with caution.