Can TiCDC customize the message format sent to MQ?

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

Original topic: TiCDC 能自定义发往 mq 的消息格式吗

| username: mxd-321

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?

| username: ShawnYan | Original post link

It is recommended to transfer twice. Directly modifying the TiCDC code will be a bit troublesome for upgrades and maintenance.

| username: Hacker007 | Original post link

What is the downstream? Wouldn’t it be more convenient to transfer at the downstream if possible?

| username: mxd-321 | Original post link

Okay, if you directly modify the ticdc code, do you also need to integrate the modified ticdc into tiup?

| username: mxd-321 | Original post link

The downstream is Kafka, and the goal is to change the format of the messages sent to Kafka.

| username: ShawnYan | Original post link

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

| username: mxd-321 | Original post link

Okay, thank you very much.

| username: system | Original post link

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