Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: Tidb cdc 写入kafka 配置压缩
[TiDB Usage Environment] Production Environment
[TiDB Version] 5.4.1
[Encountered Problem: Phenomenon and Impact]
TiDB CDC writing to Kafka without compression configured, leading to Kafka traffic reaching its limit and data consumption anomalies.
[Resource Configuration]
[Attachment: Screenshot/Log/Monitoring]
Checked the documentation but couldn’t find the relevant configuration. After thinking it over, decided to directly test by adding the configuration (not sure which one, so added both) as follows:
&kafka.compression.type=snappy&compression.type=snappy
Not sure if it will be effective.