Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: TiCDC 能自定义发往 mq 的消息格式吗
Now that TiCDC supports message formats like canal_json, can the TiCDC code be modified to customize the message format? Or do we need to convert canal_json to other message formats in our own system?
It is recommended to transfer twice. Directly modifying the TiCDC code will be a bit troublesome for upgrades and maintenance.
What is the downstream? Wouldn’t it be more convenient to transfer at the downstream if possible?
Okay, if you directly modify the ticdc code, do you also need to integrate the modified ticdc into tiup?
The downstream is Kafka, and the goal is to change the format of the messages sent to Kafka.
tiup can be set as a local mirror. After modifying the package, you can put it in the local mirror for distribution. You can refer to this section: \https://tidb.net/blog/a0d37d88#%E5%86%8D%E8%AE%BATiUP%E7%BB%84%E4%BB%B6/tiup%20mirror
Okay, thank you very much.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.