TiCDC Error [CDC:ErrMessageTooLarge] Message is too large

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

Original topic: ticdc 报错[CDC:ErrMessageTooLarge]message is too large

| username: Holland

[TiDB Usage Environment] Production Environment
[TiDB Version]
[Reproduction Path] Operations performed that led to the issue
ticdc synchronization interrupted
Error [CDC:ErrMessageTooLarge] message is too large

max-message-bytes=4294967296 has been updated to 4294967296 through changefeed update, but it still doesn’t work
[Encountered Problem: Problem Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]

| username: Holland | Original post link

[2023/08/31 08:11:54.638 +00:00] [WARN] [canal_json_encoder.go:328] [“Single message is too large for canal-json”] [maxMessageBytes=1000000] [length=1106935] [table=weimob.order] [value="eyJpZCI6ZGF0YWJhc2UiOiJhaWRdX3dlaW1vYiIsInRhYmxlIjoid2VpbW9iX3RlbmFudF9vcmRlciIsInBrTmFtZXMiOlsiadwiaXNEZGwiOmZhbHNlLCJ0eXBlIjoiVVBEQVRFIiwiZXMiOjE2OTM0NjY0MDE2MDUsInRzIjoxNjkzNDY5NTE0NjM0LCJzcWwiOiIiLCJzcWxUeXBlIjp7ImlkIjotNSwidGVuYW50X2lkIjotNSwid2lkIjoxLCJvcmRlcl9ubyI6MSwiZW5hYmxlX2RlbGl2ZXJ5IjotNiwib3JkZXJfc3RhdHVzIjotNiwib3JkZXJfc3RhdHVzX25hbWUiOjEyLCJ0cmFuc2Zlcl90eXBlIjotNiwidHJhbnN

| username: redgame | Original post link

Check if the max-message-bytes in the configuration file has been correctly updated.

| username: 像风一样的男子 | Original post link

Is the downstream Kafka? Check the kafka’s message.max.bytes configuration to see if it has been exceeded.

| username: Holland | Original post link

Yes. It’s fixed :joy: :joy: :joy:

| username: system | Original post link

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