When the Flink TiDB CDC table has a composite primary key, the parsed byte stream is null

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

Original topic: flink tidb cdc表是联合主键时,解析的字节流为null

| username: TiDBer_Xys4hD00

[Test Environment for TiDB]
[TiDB Version]
[Reproduction Path] Data parsed from a table with a composite primary key is null
[Encountered Issue: Phenomenon and Impact]
[Resource Configuration]


| username: TiDBer_Xys4hD00 | Original post link

Is there any expert who can provide some guidance? There is an issue with the composite primary key.

| username: xfworld | Original post link

What protocol is used for parsing?

| username: TiDBer_Xys4hD00 | Original post link

The data retrieved using the package in tikv-client-java should be grpc, right?

| username: xfworld | Original post link

You need to check these, the protocol for CDC subscription and consumption.

image