From f479dd6354f2d09fa3519c091dd50c0fb6399db7 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Wed, 16 Sep 2026 11:07:08 +0200 Subject: [PATCH] chore(kafka): Update major/minor versions for 26.11.0 --- CHANGELOG.md | 6 ++++++ docs/modules/kafka/partials/supported-versions.adoc | 10 ++++------ rust/operator-binary/src/controller/validate.rs | 2 +- rust/operator-binary/src/crd/mod.rs | 6 +++--- tests/test-definition.yaml | 6 ++---- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 454e23a6..a76b1709 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## Added + +- Support for Kafka 4.3.1 ([#1022]). + ### Changed - The dynamic KRaft quorum created by the operator is now scaled automatically. Previously, @@ -56,6 +60,7 @@ All notable changes to this project will be documented in this file. shipped in the same product image as `kafka` since #527, so the dedicated container/image was no longer needed). The `kcat-prober` value is no longer accepted in a broker's `logging.containers` CRD field ([#1010]). +- Support for Kafka 4.1.1 and 4.2.1 ([#1022]) [#985]: https://github.com/stackabletech/kafka-operator/pull/985 [#990]: https://github.com/stackabletech/kafka-operator/pull/990 @@ -66,6 +71,7 @@ All notable changes to this project will be documented in this file. [#1011]: https://github.com/stackabletech/kafka-operator/pull/1011 [#1014]: https://github.com/stackabletech/kafka-operator/pull/1014 [#1017]: https://github.com/stackabletech/kafka-operator/pull/1017 +[#1022]: https://github.com/stackabletech/kafka-operator/pull/1022 ## [26.7.0] - 2026-07-21 diff --git a/docs/modules/kafka/partials/supported-versions.adoc b/docs/modules/kafka/partials/supported-versions.adoc index 5a962cb4..4ca1c99b 100644 --- a/docs/modules/kafka/partials/supported-versions.adoc +++ b/docs/modules/kafka/partials/supported-versions.adoc @@ -2,12 +2,10 @@ // This is a separate file, since it is used by both the direct Kafka documentation, and the overarching // Stackable Platform documentation. -* 4.2.1 (experimental, deprecated) - Requires KRaft, please read on the xref:kafka:usage-guide/kraft-controller.adoc[Kraft migration guide]. -* 4.1.1 (experimental, deprecated) - Requires KRaft, please read on the xref:kafka:usage-guide/kraft-controller.adoc[Kraft migration guide]. +* 4.3.1 +* 4.2.1 * 3.9.2 (LTS) -* 3.9.1 (deprecated) -Support for clusters running in Kraft mode (which includes Apache Kafka >= 4.x) is experimental due to the following known issues: +Starting with Apache Kafka >=4.x, the quorum manager has been changed from Apache Zookeeper to the built in KRaft. -* Kerberos authentication is not tested yet. -* Service exposition is not definitive. +If you are running an older Kafka version and plan to upgrade, head on to the xref:kafka:usage-guide/kraft-controller.adoc[Kraft migration guide] for details on how to do so. diff --git a/rust/operator-binary/src/controller/validate.rs b/rust/operator-binary/src/controller/validate.rs index c41d31a8..9462b284 100644 --- a/rust/operator-binary/src/controller/validate.rs +++ b/rust/operator-binary/src/controller/validate.rs @@ -624,7 +624,7 @@ mod tests { uid: 12345678-1234-1234-1234-123456789012 spec: image: - productVersion: 4.1.1 + productVersion: 4.3.1 brokers: roleGroups: default: diff --git a/rust/operator-binary/src/crd/mod.rs b/rust/operator-binary/src/crd/mod.rs index 3402151f..900d0bb4 100644 --- a/rust/operator-binary/src/crd/mod.rs +++ b/rust/operator-binary/src/crd/mod.rs @@ -594,13 +594,13 @@ mod tests { Ok(MetadataManager::ZooKeeper) )] #[case("3.9.2", Some(MetadataManager::KRaft), Ok(MetadataManager::KRaft))] - #[case("4.1.1", None, Ok(MetadataManager::KRaft))] + #[case("4.3.1", None, Ok(MetadataManager::KRaft))] #[case( - "4.1.1", + "4.3.1", Some(MetadataManager::ZooKeeper), Err(Error::Kafka4RequiresKraftMetadataManager) )] - #[case("4.1.1", Some(MetadataManager::KRaft), Ok(MetadataManager::KRaft))] + #[case("4.3.1", Some(MetadataManager::KRaft), Ok(MetadataManager::KRaft))] fn test_effective_metadata_manager( #[case] product_version: &str, #[case] metadata_manager: Option, diff --git a/tests/test-definition.yaml b/tests/test-definition.yaml index 9b47243a..6385f7ed 100644 --- a/tests/test-definition.yaml +++ b/tests/test-definition.yaml @@ -7,11 +7,9 @@ dimensions: - name: kafka-kraft values: - 3.9.2 - - 4.1.1 - - 4.2.1 + - 4.3.1 - name: kafka values: - - 3.9.1 - 3.9.2 # Alternatively, if you want to use a custom image, append a comma and the full image name to the product version # as in the example below. @@ -37,7 +35,7 @@ dimensions: - 3.9.2 - name: upgrade_new values: - - 4.2.1 + - 4.3.1 - name: use-client-tls values: - "true"