Upgrade
NOTE
This document provides the upgrade path principles and supported version compatibility for Alauda Streaming Service for Kafka.
TOC
Compatibility MatrixPrerequisitesUpgrade Path GuidelinesConsecutive Upgrade (Recommended)Patch-Level UpgradeKafka Version AlignmentSpecial Note for v4.2.x and Later UpgradesSpecial Note for v4.3.x UpgradeUpgrade strategyCompatibility Matrix
The table below lists supported versions of the Alauda Streaming Service for Kafka and its key components:
Important Notes
- v4.2.x and later only support KRaft mode: ZooKeeper mode has been completely removed. All instances must be running in KRaft mode before upgrading to v4.2.x or later.
- Migration requirement: If you have instances in ZooKeeper mode, you must migrate them to KRaft mode using the v4.1.x operator before upgrading to v4.2.x or later.
- Kafka 2 plugin is no longer supported: v4.2.x and later do not support the Alauda build of Kafka 2 plugin or Kafka 2.x instances.
- Kafka 4.2.0 requires Alauda Container Platform Data Services RDS Framework 4.2.2 or later: Upgrade RDS Framework before rolling Kafka instances to Kafka 4.2.0.
- Irreversible: Once migrated to KRaft mode, rolling back to ZooKeeper mode is not supported.
Prerequisites
Before initiating an upgrade, please ensure the following:
- Version Compatibility: Your current version falls within a supported upgrade path.
- Component Health: Kafka instances are in a
Readystate. - Resource Availability: The cluster has sufficient resources to support the upgrade process.
- RDS Framework Version for v4.3.x: Ensure Alauda Container Platform Data Services RDS Framework is version 4.2.2 or later before upgrading Kafka instances to Kafka 4.2.0.
- KRaft Mode Verification: Verify that all rdskafka instances have
spec.modeset toKRaft.- You can use the following command to check the mode of all Kafka instances:
- If any instance is not in KRaft mode , you must migrate it to KRaft mode using the v4.1.x operator before upgrading to v4.2.x or later.
- The v4.2.x and later operators do not support ZooKeeper mode and will not handle migration from ZooKeeper to KRaft.
- A migration plan from ZooKeeper mode to Kraft mode is available (migrate to kraft).
For version-specific changes, new features, and deprecations, see the 📝 Release Notes.
Upgrade Path Guidelines
Consecutive Upgrade (Recommended)
- Description: Upgrade step-by-step through consecutive minor versions.
- Example:
4.1.x → 4.2.x → 4.3.x
Patch-Level Upgrade
- Description: Upgrades between any patch versions within the same minor version are fully compatible and can be performed directly.
- Example:
4.1.0 → 4.1.x
Kafka Version Alignment
- Description: Ensure Kafka version upgrades follow the operator's compatibility matrix.
- Example:
- Alauda Streaming Service for Kafka
4.3.xsupports Kafka4.2.0. - Alauda Streaming Service for Kafka
4.2.xsupports Kafka4.1.2. - Alauda Streaming Service for Kafka
4.1.xsupports Kafka3.8.1or Kafka2.8.2(with plugin).
- Alauda Streaming Service for Kafka
Special Note for v4.2.x and Later Upgrades
- KRaft Mode Requirement: All instances must be in KRaft mode before upgrading to v4.2.x or later.
- Kafka 2 Plugin Removal: Kafka 2.x instances and the Alauda build of Kafka 2 plugin are not supported in v4.2.x or later.
- Migration Path: If you have instances in ZooKeeper mode:
- Stay on v4.1.x operator
- Migrate all instances to KRaft mode using the migration procedure
- Verify all instances are running successfully in KRaft mode
- Upgrade operator to v4.2.x or later
- No Rollback to ZooKeeper: Once migrated to KRaft mode, rolling back to ZooKeeper mode is not supported.
Special Note for v4.3.x Upgrade
- Kafka Runtime Upgrade: v4.3.x supports Kafka
4.2.0. Existing Kafka instances should be upgraded after the operator is healthy and the instance upgrade strategy allows it. - RDS Framework Requirement: Kafka
4.2.0support depends on Alauda Container Platform Data Services RDS Framework4.2.2or later. Verify the RDS Framework version before rolling Kafka instances to4.2.0. - Recommended Path: Upgrade from
4.2.xto4.3.xfirst, verify operator and instance health, then roll Kafka instances to4.2.0.
Upgrade strategy
Alauda Streaming Service for Kafka will execute upgrades based on the configured upgrade strategy:
- Automatic : Auto-upgrades are triggered immediately upon detecting new component versions.
- Manual : Requires manual approval before initiating the upgrade process.