Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: cdc 数据延迟及报错问题
[TiDB Usage Environment] Online (Research)
[TiDB Version] v5.4.0
[Encountered Problem] CDC outputs data to Kafka, writing data to Kafka is delayed, and CDC lag keeps increasing.
[Reproduction Path] After adjusting the three parameters max-message-bytes=1073741824, replica.fetch.max.bytes=1073741824, and fetch.message.max.bytes=1073741824, the delay is still extremely large.
Monitoring Interface
Check the logs for the following errors