...
It is worth mentioning that Kafka is still tested for cluster upgrades between versions 0.8.2 and 3.4.
The table below makes the assumption you want to carry out the upgrades using a rolling restart
| Zookeeper cluster (< 3.5) | Zookeeper cluster (>= 3.5) |
---|
Kafka cluster (< 2.4) | - Upgrade the Kafka cluster to version 3.4.0
- According to Upgrading to 3.5.0 you will need to carry out a rolling upgrade to Zookeeper 3.4.6 before upgrading the Zookeeper cluster to version 3.8.1
- Upgrade the Kafka cluster once more from 3.4.0 to 3.X
| - Upgrade the Kafka cluster to version 3.4.0
- Upgrade the Zookeeper cluster to version 3.8.1
|
Kafka client (< 2.4) | - Upgrade the Kafka clients to a version which does not rely on direct access to Zookeeper (i.e. Kafka 3.4.0)
- According to Upgrading to 3.5.0 you will need to carry out a rolling upgrade to Zookeeper 3.4.6 before upgrading the Zookeeper cluster to version 3.8.1
| - Upgrade the Kafka clients to a version which does not rely on direct access to Zookeeper (i.e. Kafka 3.4.0)
- Upgrade the Zookeeper cluster to version 3.8.1
|
Kafka cluster (>= 2.4) | - Upgrade the Zookeeper cluster to version to 3.8.1 (with a bridge upgrade to Zookeeper 3.4.6 as detailed in Upgrading to 3.5.0)
| - Upgrade the Zookeeper cluster to version 3.8.1
|
Kafka client (>= 2.4) | - Upgrade the Kafka clients to a version which does not rely on direct access to Zookeeper (i.e. Kafka 3.4.0)
- According to Upgrading to 3.5.0 you will need to carry out a rolling upgrade to Zookeeper 3.4.6 before upgrading the Zookeeper cluster to version 3.8.1
| - Upgrade the Kafka clients to a version which does not rely on direct access to Zookeeper (i.e. Kafka 3.4.0)
- Upgrade the Zookeeper cluster to version 3.8.1
|
Below is an analysis of changes introduced in 3.7.0 and 3.8.0 and whether they will introduce breaking changes in Kafka or not.
...