Under what circumstances will data contain multiple entries in the TiCDC Canal-JSON Protocol?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TiCDC Canal-JSON Protocol,data什么情况下会包含多条数据

| username: daijunjian

[TiDB Version]
5.2.4

[Encountered Problem: Problem Phenomenon and Impact]
In TiCDC Canal-JSON Protocol, under what circumstances will the data attribute of the Message contain multiple pieces of data during a DML Event?

| username: xfworld | Original post link

There’s no issue here~~

DML EVENT, the Data attribute records multiple column changes for a single record…


Simply put, a transaction can contain N DML EVENTS, and each Event is ordered.

| username: daijunjian | Original post link

The Data attribute is meant to record a single record. So why is it designed as an array?

| username: xfworld | Original post link

Considering compatibility

In the past, the splitting of transactions was not as mature as it is now…

| username: daijunjian | Original post link

Oh, thank you, thank you!

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.