Can TiDB Binlog be configured to send messages to multiple Kafka partitions?

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

Original topic: tidb binlog 向kafka发送消息可以配置多个partition吗

| username: simple-hx

Can TiDB Binlog send messages to multiple partitions in Kafka?

| username: db_user | Original post link

It seems that binlog cannot meet the requirements as it hasn’t been updated for a long time Binlog Consumer Client User Documentation | PingCAP Documentation Center

However, CDC can, but this feature might not be supported in version 4.0.16. You can give it a try.
Sync Data to Kafka | PingCAP Documentation Center

| username: 像风一样的男子 | Original post link

I couldn’t find where to configure the partition.

| username: TiDBer_小阿飞 | Original post link

partition-num specifies the number of downstream Kafka partitions (optional, cannot exceed the actual number of partitions, otherwise the creation of the synchronization task will fail, default value is 3).

| username: Fly-bird | Original post link

TiCDC is fine.

| username: heiwandou | Original post link

TiCDC component

| username: andone | Original post link

ticdc is fine

| username: system | Original post link

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