What versions of Kafka does TiCDC support?

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

Original topic: ticdc 都支持哪些版本的 kafka?

| username: ShawnYan

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?

| username: Kongdom | Original post link

Downstream Kafka version number (optional, default value 2.4.0, currently the minimum supported version is 0.11.0.2, and the maximum version is 3.2.0. This value needs to be consistent with the actual version of downstream Kafka).

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

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.

| username: zhanggame1 | Original post link

I tested the latest version of Kafka and didn’t find any issues.

| username: ti-tiger | Original post link

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.

| username: Fly-bird | Original post link

Basically all supported, new basic features should be supported.

| username: 随缘天空 | Original post link

Kafka versions from 2.0.x to 2.7.x are supported. It’s best to test the latest version.

| username: xfworld | Original post link

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.

| username: ShawnYan | Original post link

What is the source of this information?

| username: ShawnYan | Original post link

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.

| username: Kongdom | Original post link

:yum: It’s highly likely that the documentation hasn’t been updated. This should probably be suggested.

| username: 喵父666 | Original post link

Common versions are all supported.

| username: andone | Original post link

Most versions are supported.

| username: zhanggame1 | Original post link

I have tested the latest version, and it is supported.

| username: TiDBer_小阿飞 | Original post link

:+1: :+1: :+1:

| username: Kongdom | Original post link

:+1: :+1: :+1:

| username: swino | Original post link

Basically all supported.