You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by cl...@apache.org on 2026/02/09 19:46:50 UTC

(kafka) branch 4.2 updated (f50ddc49192 -> 02da55ba7b0)

This is an automated email from the ASF dual-hosted git repository.

clolov pushed a change to branch 4.2
in repository https://gitbox.apache.org/repos/asf/kafka.git


    from f50ddc49192 KAFKA-19960: Close pending tasks on shutdown. (#21365) (#21423)
     new 32d93b466fe MINOR: update KIP-1071 docs for KafkaClientSupplier (#21366)
     new 150c14846b9 KAFKA-20096: Add documentation about the incompatibility of RocksDB file format (#21397)
     new 02da55ba7b0 Revert "Bump version to 4.2.0"

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/streams/developer-guide/streams-rebalance-protocol.md            | 4 +++-
 docs/streams/upgrade-guide.md                                         | 4 +++-
 gradle.properties                                                     | 2 +-
 streams/quickstart/java/pom.xml                                       | 2 +-
 .../quickstart/java/src/main/resources/archetype-resources/pom.xml    | 2 +-
 streams/quickstart/pom.xml                                            | 2 +-
 tests/kafkatest/__init__.py                                           | 2 +-
 7 files changed, 11 insertions(+), 7 deletions(-)


(kafka) 02/03: KAFKA-20096: Add documentation about the incompatibility of RocksDB file format (#21397)

Posted by cl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

clolov pushed a commit to branch 4.2
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit 150c14846b9d8f51e612e84443272fce9a6a468e
Author: Arpit Goyal <go...@gmail.com>
AuthorDate: Tue Feb 10 01:13:54 2026 +0530

    KAFKA-20096: Add documentation about the incompatibility of RocksDB file format (#21397)
    
    Document the limitation we have in RocksDB upgrade due to file format
    version change.
    
    Reviewers: Matthias J. Sax <ma...@confluent.io>
---
 docs/streams/upgrade-guide.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/streams/upgrade-guide.md b/docs/streams/upgrade-guide.md
index c4b0a673e92..2f948c6324a 100644
--- a/docs/streams/upgrade-guide.md
+++ b/docs/streams/upgrade-guide.md
@@ -53,7 +53,9 @@ Starting in version 4.0.0, Kafka Streams will only be compatible when running ag
 
 Downgrading from 3.5.x or newer version to 3.4.x or older version needs special attention: Since 3.5.0 release, Kafka Streams uses a new serialization format for repartition topics. This means that older versions of Kafka Streams would not be able to recognize the bytes written by newer versions, and hence it is harder to downgrade Kafka Streams with version 3.5.0 or newer to older versions in-flight. For more details, please refer to [KIP-904](https://cwiki.apache.org/confluence/x/P5VbD [...]
 
-Downgrading from 3.0.x or newer version to 2.8.x or older version needs special attention: Since 3.0.0 release, Kafka Streams uses a newer RocksDB version whose on-disk format changed. This means that old versioned RocksDB would not be able to recognize the bytes written by that newer versioned RocksDB, and hence it is harder to downgrade Kafka Streams with version 3.0.0 or newer to older versions in-flight. Users need to wipe out the local RocksDB state stores written by the new version [...]
+Downgrading from 3.0.x or newer version to 2.8.x or older version needs special attention: Since 3.0.0 release, Kafka Streams uses a newer RocksDB version whose on-disk format changed. This means that old versioned RocksDB would not be able to recognize the bytes written by that newer versioned RocksDB, and hence it is harder to downgrade Kafka Streams with version 3.0.0 or newer to older versions in-flight. Users need to first delete the local RocksDB state stores written by the new ver [...]
+
+Downgrading from 4.0.x or newer version to older than 4.0.0 needs special attention: Since 4.0.0 release, Kafka Streams upgraded RocksDB from version 7.9.2 to 9.7.3. This upgrade introduces a RocksDB file format version change from version 5 to version 6 (introduced in RocksDB 8.6). While the newer RocksDB version (9.7.3) can read state stores written in the old format (version 5), the older RocksDB versions cannot read state stores written in the new format (version 6). This means that  [...]
 
 Kafka Streams does not support running multiple instances of the same application as different processes on the same physical state directory. Starting in 2.8.0 (as well as 2.7.1 and 2.6.2), this restriction will be enforced. If you wish to run more than one instance of Kafka Streams, you must configure them with different values for `state.dir`. 
 


(kafka) 03/03: Revert "Bump version to 4.2.0"

Posted by cl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

clolov pushed a commit to branch 4.2
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit 02da55ba7b057938e1006ae790f230cab612dd05
Author: Christo <lo...@amazon.com>
AuthorDate: Mon Feb 9 19:46:37 2026 +0000

    Revert "Bump version to 4.2.0"
    
    This reverts commit 297c181562d0cd15fbd5591d5683f169776f3c97.
---
 gradle.properties                                                      | 2 +-
 streams/quickstart/java/pom.xml                                        | 2 +-
 streams/quickstart/java/src/main/resources/archetype-resources/pom.xml | 2 +-
 streams/quickstart/pom.xml                                             | 2 +-
 tests/kafkatest/__init__.py                                            | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gradle.properties b/gradle.properties
index 7d294bfc151..87b2ae18e94 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -22,7 +22,7 @@ group=org.apache.kafka
 #  - streams/quickstart/pom.xml
 #  - streams/quickstart/java/src/main/resources/archetype-resources/pom.xml
 #  - streams/quickstart/java/pom.xml
-version=4.2.0
+version=4.2.0-SNAPSHOT
 scalaVersion=2.13.17
 # Adding swaggerVersion in gradle.properties to have a single version in place for swagger
 swaggerVersion=2.2.39
diff --git a/streams/quickstart/java/pom.xml b/streams/quickstart/java/pom.xml
index 1162e1a180b..8242e4222e5 100644
--- a/streams/quickstart/java/pom.xml
+++ b/streams/quickstart/java/pom.xml
@@ -26,7 +26,7 @@
     <parent>
         <groupId>org.apache.kafka</groupId>
         <artifactId>streams-quickstart</artifactId>
-        <version>4.2.0</version>
+        <version>4.2.0-SNAPSHOT</version>
         <relativePath>..</relativePath>
     </parent>
 
diff --git a/streams/quickstart/java/src/main/resources/archetype-resources/pom.xml b/streams/quickstart/java/src/main/resources/archetype-resources/pom.xml
index 027f4830bf4..f8432b84c84 100644
--- a/streams/quickstart/java/src/main/resources/archetype-resources/pom.xml
+++ b/streams/quickstart/java/src/main/resources/archetype-resources/pom.xml
@@ -29,7 +29,7 @@
 
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <kafka.version>4.2.0</kafka.version>
+        <kafka.version>4.2.0-SNAPSHOT</kafka.version>
         <slf4j.version>2.0.16</slf4j.version>
     </properties>
 
diff --git a/streams/quickstart/pom.xml b/streams/quickstart/pom.xml
index b7e51c15c58..56876ef463b 100644
--- a/streams/quickstart/pom.xml
+++ b/streams/quickstart/pom.xml
@@ -22,7 +22,7 @@
     <groupId>org.apache.kafka</groupId>
     <artifactId>streams-quickstart</artifactId>
     <packaging>pom</packaging>
-    <version>4.2.0</version>
+    <version>4.2.0-SNAPSHOT</version>
 
     <name>Kafka Streams :: Quickstart</name>
 
diff --git a/tests/kafkatest/__init__.py b/tests/kafkatest/__init__.py
index b192f8f528f..3a7968f11a5 100644
--- a/tests/kafkatest/__init__.py
+++ b/tests/kafkatest/__init__.py
@@ -22,4 +22,4 @@
 # Instead, in development branches, the version should have a suffix of the form ".devN"
 #
 # For example, when Kafka is at version 1.0.0-SNAPSHOT, this should be something like "1.0.0.dev0"
-__version__ = '4.2.0'
+__version__ = '4.2.0.dev0'


(kafka) 01/03: MINOR: update KIP-1071 docs for KafkaClientSupplier (#21366)

Posted by cl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

clolov pushed a commit to branch 4.2
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit 32d93b466feeb253c28ef4aaeb90213205f93e23
Author: Matthias J. Sax <ma...@confluent.io>
AuthorDate: Mon Feb 9 11:42:50 2026 -0800

    MINOR: update KIP-1071 docs for KafkaClientSupplier (#21366)
    
    KafkaClientSupplier is not fully supported with "streams" group. This PR
    adds a note to "not supported" features to the docs about it.
    
    Reviewers: Lucas Brutschy <lb...@confluent.io>
---
 docs/streams/developer-guide/streams-rebalance-protocol.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/streams/developer-guide/streams-rebalance-protocol.md b/docs/streams/developer-guide/streams-rebalance-protocol.md
index 4ef05252ab7..0b56d411342 100644
--- a/docs/streams/developer-guide/streams-rebalance-protocol.md
+++ b/docs/streams/developer-guide/streams-rebalance-protocol.md
@@ -57,12 +57,14 @@ The following features are not yet available and should be avoided when using th
 
 * **Topology Updates**: If a topology is changed significantly (e.g., by adding new source topics or changing the number of subtopologies), a new streams group must be created.
 
-* **High Availability Assignor**: Only the sticky assignor is supported. This implies that "warmup tasks" are not supported yet.
+* **High Availability Assignor**: Only the sticky assignor is supported. This implies that "warmup tasks" and rack aware assignment are not supported yet.
 
 * **Regular Expressions**: Pattern-based topic subscription is not supported.
 
 * **Online Migration**: Group migration while the application is running is not available between the classic and new streams protocol.
 
+* **Custom Client Supplier**: Using a custom `KafkaClientSupplier` will only allow so provide restore/global consumer, producer, and admin client. It's not possible to provide the "main" consumer when "streams" groups are enabled. 
+
 # Why Use the Streams Rebalance Protocol?
 
 The Streams Rebalance Protocol offers several key advantages over the classic client-driven protocol: