历史版本2 :Real-Time Capture Task O&M 返回文档
编辑时间: 内容长度:图片数:目录数: 修改原因:

1. Overview

1.1 Version History

FineDataLink VersionChanges
4.2.4.3Added real-time capture tasks
4.2.6.3• Added "Dependencies" tab: Displays pipeline tasks and real-time tasks that depend on this real-time capture task<br>• When the source is Oracle, MySQL, or SQL Server, displays "Log Parsing Latency"<br>• "Parsing Tables" tab: Added real-time statistics and historical statistics<br>• Supports viewing operational status of all data capture tasks
4.2.10.4Hovering over the source table name displays Topic's used storage, remaining available storage, and earliest data timestamp in the Topic
4.2.13.1When the source end of real-time pipelines and real-time tasks is SQL Server, the real-time capture task:<br>• Periodically checks the status of Agent and Capture jobs, with prompts in "Operation Logs"<br>• Periodically checks the "source table structure & CDC table structure" (excluding field types) of tables currently being captured. If inconsistencies are found in column count or field names between source and CDC tables, prints task-level WARN logs in the capture task
4.2.14.1• Real-time capture task details page displays data connection URL<br>• Delete button displayed in the top-right corner of real-time capture tasks<br>• Supports manually pausing real-time capture tasks<br>• Optimized status updates for real-time capture tasks<br>• Supports deleting tables from single or multiple real-time capture tasks<br>• Supports viewing backfill records; supports canceling backfill operations
4.2.14.4Historical statistics: Added "Log Parsing Latency Metrics"

1.2 Feature Introduction

After a real-time capture task is automatically created, you can view its operational details under Management System > Data Connections > Real-time Capture Tasks, as shown below:


2. Managing Real-time Capture Tasks

2.1 Filtering Real-time Capture Tasks

You can filter real-time capture tasks by connection name, task name, parsed tables, and task status, as shown below:

Task Status Descriptions:

Capture Task StatusDescription
Pending StartInitial state after a real-time capture task is created (removed in version 4.2.14.1)
StartingThe period from initiation to actual task execution is shown as "Starting" (removed in version 4.2.14.1)
RunningAt least one table under the capture task is in "Running" or "Waiting for Backfill" status
StoppingThe period from task execution to task pause is shown as "Stopping" (removed in version 4.2.14.1)
Stopped• Capture task triggered stop operation and entered stopped state<br>• No tables are being captured under the capture task, and no backfill logic is running<br>• All tables under the capture task are in "Runtime Error" status due to table-level errors, and no backfill logic is running
Runtime ErrorCapture task encounters task-level errors during startup or runtime and stops capture<br>Examples: log not found, data connection disconnected, message queue exception

2.2 Renaming/Deleting/Pausing Real-time Capture Tasks

2.2.1 Renaming

Supports renaming real-time capture tasks, as shown below:

2.2.2 Deletion

Real-time capture tasks can be deleted when their status is "Stopped" or "Runtime Error", as shown below:

Use Cases for "Delete" Operation:

  • Existing capture tasks are no longer needed

  • Checkpoints of existing capture tasks are not required

  • Logs for capture task checkpoints are lost

You can reset the capture task for a data connection by deleting the capture task.

Deletion Logic: Deleting a capture task removes all related information, including:

  • Capture task checkpoints and logs

  • All Kafka topics under this capture task

  • All data within those Kafka topics (including old topics generated from backfill operations)

2.2.3 Pause

Added in version 4.2.14.1

Real-time capture tasks can be paused when their status is "Running", as shown below:

Use Cases for "Pause" Operation:

  • When real-time capture significantly impacts the database, you can immediately stop the capture task using the "Pause" button

Pause Logic:

  • Real-time pipeline and real-time task anomalies caused by manual pause of capture tasks do not trigger retry mechanisms for pipelines or real-time tasks

  • After clicking "Pause", the capture task enters the stopping process, stops capturing all tables under this task, switches status from "Running" to "Stopping", and pauses all backfill threads

  • Running real-time tasks using this capture task will abort with error: ${capture_task_name} was manually paused, ${table_list} synchronization aborted

  • Running real-time pipelines using this capture task will abort with error: ${capture_task_name} was manually paused, real-time synchronization aborted

2.3 Backfill

Backfill Logic Definition:

Operations such as adding new tables to real-time pipelines/real-time tasks, synchronizing data earlier than the earliest data in the real-time capture task, or resuming synchronization for historical tables are considered backfill logic.

In other words, when the current capture task has already parsed to the latest timestamp, but real-time pipelines or real-time tasks require re-parsing previous logs, resulting in multiple threads parsing logs simultaneously for a short period, this is called backfill.

Note: If an error occurs in any table, the entire backfill logic will abort.

  1. When adding new tables or resuming capture for historical tables, the table appears in the real-time capture task with status "Parsing", and shows "Waiting for Backfill" when queued.

  2. In version 4.2.14.1 and later, if the capture task has previously executed backfill or is currently executing backfill, you can click the "View Backfill Records" button on the real-time capture task details page to view backfill records, as shown below:

Backfill Records Page:

Column NameDescription
Creation TimeTimestamp when this backfill logic was created
Backfill Start PointTimestamp when the backfill collector started capturing
Status• Queued: Current backfill task is waiting in queue<br>• Backfilling: Current backfill task is performing backfill<br>• Backfill Failed: Backfill thread failed due to various exceptions<br>• Backfill Aborted: Manually paused by user or automatically paused by task<br>• Backfill Completed: Backfill collector completed backfill and closed

Backfill Tables:

AttributeDescription
Table Name-
Earliest Available Message TimeEvent timestamp of the earliest message in the topic corresponding to this backfill logic
Latest Read Message TimeEvent timestamp of the latest message captured by this backfill logic
Read VolumeTotal message volume read by this backfill logic across all tables
  1. If a time-consuming backfill logic was accidentally initiated, version 4.2.14.1 and later supports canceling backfill.

When backfill logic is in "Waiting for Backfill" or "Backfilling" status, a cancel button is provided. After canceling backfill:

  • Deletes Kafka topics related to this sub-collector and all data within those topics

  • Running real-time tasks depending on this backfill logic abort with error: "Backfill for ${table_name} in capture task was manually canceled, synchronization aborted"

  • For real-time pipelines depending on this backfill logic: the affected table aborts with error: "Backfill for ${table_name} in capture task was manually canceled, synchronization aborted"; other tables that were not paused continue normal synchronization


3. Single Real-time Capture Task Operations

Select a single real-time capture task to view its basic information, parsing tables, dependencies, and operation logs, as shown below:

3.1 Basic Information

Here you can view the data connection name, read mode, task creation time, latest read message time, log parsing latency (added in version 4.2.6.3 and later), and data connection URL (added in version 4.2.14.1), as shown below:

"Log Parsing Latency" is displayed only when the source is Oracle, MySQL, or SQL Server:

Database TypeAdditional Display InformationCalculation Logic
Oracle, MySQL• Source Database Available Log Time: Earliest SCN and corresponding timestamp of full logs in source database<br>• Current Parsed Log Time: SCN and corresponding timestamp currently parsed by the task (when selecting partial table synchronization, this timestamp may differ from the current read message time)<br>• Source Database Latest Log Time: Latest SCN and corresponding timestamp of full logs in source databaseLog Parsing Latency = Source Database Current Time - Source Database Latest Log Time
SQL Server-• First calculate single-table latency: Source Database Current Time - Latest message time in the CDC table corresponding to the source table<br>• Then take the minimum value across all single-table latencies to obtain the task's active transaction latency

3.2 Parsing Tables

Note: "Real-time Statistics" and "Historical Statistics" tabs added in version 4.2.6.3 and later.

3.2.1 Real-time Statistics

Displays all tables currently being captured by this capture task. Interface shown below:

  1. Table column names and total read volume descriptions:

SettingDescription
Metric: Total Read VolumeTotal message volume read by all tables in the task (incremental only)<br>Read messages are categorized by insert/update/delete; Total Read = Insert Volume + Update Volume + Delete Volume

Table Data Column Descriptions:

Source Table Name:

  • In version 4.2.10.4 and later, hovering over the source table name displays Topic's used storage, remaining available storage, and earliest data timestamp in the Topic

Associated Task: Specific real-time pipeline task/real-time task the table belongs to

Backfill Start Point: Timestamp when the current collector for this table started capturing

Latest Read Message Time: -

Read Volume: Total message volume read for a single table within the task (incremental only); categorized by insert/update/delete

Creation Time: Timestamp when this table capture was first created

Status:

  1. Backfilling: Backfill status<br>When backfilling earlier data, if a table is being captured by both the main collector and sub-collector simultaneously, the status shows "Parsing" + "Waiting for Backfill"

  2. Parsing (Running): Table is being captured

  3. Stopped:<br>- Capture stopped due to task-level error<br>- Task-level pause

  4. Runtime Error: Table encountered table-level error during startup or runtime and stopped capture<br>Examples: DDL/DML statement parsing exceptions at table level

In version 4.2.14.1 and later, error details are displayed.

  1. In version 4.2.14.1 and later, batch deletion of tables from real-time capture tasks is supported, as shown below:

  2. In version 4.2.14.1 and later, unused tables in capture tasks are flagged with notifications, as shown below:

3.2.2 Historical Statistics

Interface shown below:

  1. Users can select time ranges (last 2 hours, last 24 hours, last 3 days, last 7 days, last 15 days) to view read details, as shown below:

  2. Metric Card - Total Read Volume is displayed as a bar chart, supporting click-to-zoom to view incremental message reads for all tables in each time segment, as shown below:

You can view data insert/update/delete details for specified time periods; filtering by current task or source table is supported.

  1. Metric Card - Log Parsing Latency (added in version 4.2.14.4) is displayed as an area line chart. When "Current Task" is selected for read/write statistics, both log parsing latency and total read volume are displayed; when switching to source table, only total read volume is shown.

The figure below shows changes in the "Log Parsing Latency" metric for the capture task within the corresponding time period.

3.3 Dependencies

Note: "Dependencies" tab added in version 4.2.6.3 and later.

Displays lists of pipeline tasks and real-time tasks that depend on this real-time capture task, showing task name, task type, task status, and tables used, as shown below:

Clicking on a task name navigates to the corresponding pipeline/real-time task.

3.4 Operation Logs

Displays operation logs for this real-time capture task, as shown below:

You can filter task operation logs, as shown below:


4. All Real-time Capture Tasks Operations

In the real-time capture task list, click "All Tasks" to view operational status of all real-time capture tasks. Note: This feature is supported in version 4.2.6.3 and later.

You can filter real-time capture tasks by connection name (added in version 4.2.14.1), task name, and most recent start time, as shown below:

Clicking on a task name navigates to the details page of that real-time capture task.