Skip to content

Commit b7f5020

Browse files
authored
ticdc: remove version limitation for max-message-bytes (#22340)
1 parent 551dd6b commit b7f5020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ticdc/troubleshoot-ticdc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ If the result of `pd-ctl service-gc-safepoint --pd <pd-addrs>` does not have `gc
108108

109109
## When I use TiCDC to replicate messages to Kafka, Kafka returns the `Message was too large` error. Why?
110110

111-
For TiCDC v4.0.8 or earlier versions, you cannot effectively control the size of the message output to Kafka only by configuring the `max-message-bytes` setting for Kafka in the Sink URI. To control the message size, you also need to increase the limit on the bytes of messages to be received by Kafka. To add such a limit, add the following configuration to the Kafka server configuration.
111+
To control the size of messages that TiCDC sends to Kafka, you can configure the `max-message-bytes` parameter in the Sink URI. However, you must also ensure that your Kafka server is configured to accept messages of that size. If a message from TiCDC exceeds the Kafka server's limit, Kafka returns a `Message was too large` error. To increase the message size limit on the Kafka server, add the following configuration to its configuration file.
112112

113113
```
114114
# The maximum byte number of a message that the broker receives

0 commit comments

Comments
 (0)