Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: ticdc 都支持哪些版本的 kafka?
Which versions of Kafka does TiCDC support?
For example, does the latest version of TiCDC 7.4 support the latest version of Kafka 3.6?
The official documentation for the Kafka version supported by CDC hasn’t been updated for a long time. You need to consult their internal development team.
I tested the latest version of Kafka and didn’t find any issues.
TiCDC supports multiple versions of Kafka, including the latest version 3.6.
Specifically, the Kafka versions supported by TiCDC are as follows:
- 0.11.0.2
- 0.11.1.0
- 0.11.1.1
- 0.11.2.0
- 0.11.2.1
- 0.11.2.2
- 1.0.0
- 1.0.1
- 1.0.2
- 1.1.0
- 1.1.1
- 2.0.0
- 2.0.1
- 2.1.0
- 2.1.1
- 2.2.0
- 2.2.1
- 2.3.0
- 2.3.1
- 2.4.0
- 2.4.1
- 3.x.x
When creating a TiCDC replication task, you can specify the Kafka version through the sink URI parameter. For example:
–sink-uri= “kafka://127.0.0.1:9092/topic-name?protocol=canal-json&kafka-version=3.x.x&partition-num=6&max-message-bytes=67108864&replication-factor=1”
Here, the kafka-version parameter is used to set the Kafka version. This value needs to match the actual version of the downstream Kafka.
Basically all supported, new basic features should be supported.
Kafka versions from 2.0.x to 2.7.x are supported. It’s best to test the latest version.
Kafka’s API compatibility is relatively good, whether for sending or receiving.
The current versions can be directly supported, but if you are using Kafka’s metadata, management, and control elements, you need to consider compatibility, as there are quite a few pitfalls.
What is the source of this information?
The highest version is 3.2.0
.
It might be that 3.6 hasn’t been tested, or the documentation hasn’t been updated.
However, this default value of 2.4 is quite outdated and has already reached EOL.
It’s highly likely that the documentation hasn’t been updated. This should probably be suggested.
Common versions are all supported.
Most versions are supported.
I have tested the latest version, and it is supported.