diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f62ca0d..bebd732c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file. - Support floating tags for product images via the new `spec.image.stackableVersionPolicy` field ([#1021]). +- Support for Kafka 4.3.1 ([#1022]). ### Changed @@ -65,6 +66,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 @@ -76,6 +78,7 @@ All notable changes to this project will be documented in this file. [#1014]: https://github.com/stackabletech/kafka-operator/pull/1014 [#1017]: https://github.com/stackabletech/kafka-operator/pull/1017 [#1021]: https://github.com/stackabletech/kafka-operator/pull/1021 +[#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 a10c879f..dd3bafb5 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"