Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: ticdc 同步到kafak binary类型是乱码
【TiDB Usage Environment】Production\Test Environment\POC
【TiDB Version】5.3.1
【Encountered Problem】
The hash value is stored in the database as binary(32). When ticdc synchronizes to Kafka in canal-json format, the message is garbled.
【Reproduction Path】What operations were performed to encounter the problem
【Problem Phenomenon and Impact】
Database display
【Attachments】
- Relevant logs, configuration files, Grafana monitoring (https://metricstool.pingcap.com/)
- TiUP Cluster Display information
- TiUP Cluster Edit config information
- TiDB-Overview monitoring
- Corresponding module’s Grafana monitoring (such as BR, TiDB-binlog, TiCDC, etc.)
- Corresponding module logs (including logs one hour before and after the issue)
If the question is related to performance optimization or fault troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output results and upload them.