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 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 only supports KRaft mode: ZooKeeper mode has been completely removed. All instances must be running in KRaft mode before upgrading to v4.2.x.
- 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.
- 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.
- 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.
- The v4.2.x operator does 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
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.1.xsupports Kafka3.8.1or Kafka2.8.2(with plugin).
- Alauda Streaming Service for Kafka
Special Note for v4.2.x Upgrade
- KRaft Mode Requirement: All instances must be in KRaft mode before upgrading to v4.2.x.
- 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
- No Rollback to ZooKeeper: Once migrated to KRaft mode, rolling back to ZooKeeper mode is not supported.
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.