This document introduces the compatibility between Tencent Cloud CKafka and open-source Kafka, helping you select a version that suits you more when using Tencent Cloud CKafka based on business needs.
Overview
The open-source Kafka has evolved from version 0.7.x to 3.3.x, with approximately 30 versions in total. From the perspective of a message queue, it can be divided into four stages: 0.x, 1.x, 2.x, and 3.x. Currently, Tencent Cloud provides cloud-compatible versions for these four community development stages, basically covering the mainstream Kafka versions used by users.
Among them, major versions 1.x and 2.x mainly focus on the optimization and improvement of Kafka Streams, without introducing too many significant features in the message engine (2.x has significant improvements in transaction characteristics). Kafka Streams has been significantly improved in version 2.x. If you are a user of these features, please select at least version 2.x. Version 3.x has significant improvements in aspects such as KRaft and mirrormaker2. For details, see the community release notes. Compatibility Note
Tencent Cloud CKafka is compatible with community Kafka. Among them, higher versions and lower versions are fully backward compatible. For example: If you self-build Kafka version 0.10, you can select CKafka versions 0.10, 1.1.1, or 2.4.1 in the cloud. If the self-built version is higher, it is not recommended to choose a lower version (because it is uncertain whether the business uses the features carried by the higher version).
The following is a compatibility note:
|
0.10.2 (discontinued) | ≤ 0.10.x | 100% |
1.1.1 (discontinued) | ≤ 1.1.x | 100% |
2.4.1 | ≤ 2.4.x | 100% |
2.8.1 (recommended) | ≤ 2.8.x | 100% |
3.2.3 | ≤ 3.2.x | 100% |
Version description of CKafka 2.4.1
When CKafka launched version 2.4, the stable branch in the community was version 2.4.1. Later, there was a development branch version 2.4.2 in the community. After some patches were merged, it was located as version 2.4.2. Subsequently, the community deleted version 2.4.2. Finally, there was no version 2.4.2 in the community. Therefore, the previously displayed version 2.4.2 of CKafka was aligned with the currently displayed version 2.4.1.
CKafka Version Selection Suggestion
If it is self-built Kafka migrating to the cloud, it is advisable to select the corresponding major version. For example, if the self-built Kafka is version 2.8.1, then select CKafka version 2.8.1.
When the corresponding version cannot be found in the cloud, it is recommended to select a higher version. For example, if the self-built version is 2.8.0, it is recommended to use version 2.8.1; if the self-built version is 1.1.1, it is recommended to use version 2.4.1 (because each version of the Broker is backward compatible).