Issue with Flink-TiDB-CDC Log Retrieval: Garbled Print Output

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

Original topic: flink-tidb-cdc获取日志,打印是乱码问题

| username: TiDBer_UhEaT67M

Using flink-tidb-cdc SourceFunction to obtain TiDB change logs, the parsed result is in binary. How can it be converted to normal content?
[Attachment: Screenshot/Log/Monitoring]

| username: Fly-bird | Original post link

It doesn’t seem to work. I tried many methods before and found that none of them worked.

| username: redgame | Original post link

Why choose this?

| username: TiDBer_UhEaT67M | Original post link

Have you tried using Flink SQL? Is it doable?

| username: TiDBer_UhEaT67M | Original post link

Parse the log data into changes, and then perform business operations.

| username: cassblanca | Original post link

Synchronize to Kafka through Ticdc, then consume from Kafka using Flink Integrate Data with Apache Kafka and Apache Flink | PingCAP Documentation Center