From c2b816cb57d16b41229f7de54f569816bf92263f Mon Sep 17 00:00:00 2001 From: Jinhe Zhang Date: Wed, 5 Nov 2025 15:34:00 -0500 Subject: [PATCH 1/2] add docs for streams kip --- docs/streams/upgrade-guide.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/streams/upgrade-guide.html b/docs/streams/upgrade-guide.html index ff605f76ea91f..88d14a16a9f85 100644 --- a/docs/streams/upgrade-guide.html +++ b/docs/streams/upgrade-guide.html @@ -137,6 +137,15 @@

Streams API More details can be found in KIP-1195.

+

+ Kafka Streams now provides rebalance listener metrics to monitor the latency of rebalance callbacks. + The following metrics are available at the thread level: tasks-revoked-latency-avg, tasks-revoked-latency-max, + tasks-assigned-latency-avg, tasks-assigned-latency-max, tasks-lost-latency-avg, and tasks-lost-latency-max. + These metrics are particularly useful for applications using the new Streams Rebalance Protocol (KIP-1071). + Users migrating from the consumer rebalance listener metrics should update their monitoring dashboards and alerts to use these new streams-specific metrics. + More details can be found in KIP-1216. +

+

Streams API changes in 4.1.0

Note: Kafka Streams 4.1.0 contains a critical memory leak bug (KAFKA-19748) that affects users of range scans and certain DSL operators (session windows, sliding windows, stream-stream joins, foreign-key joins). Users running Kafka Streams should consider upgrading directly to 4.1.1 when available.

From c7d419a95560a0369fe2e7d9237b10f64f6cd4be Mon Sep 17 00:00:00 2001 From: Jinhe Zhang Date: Fri, 7 Nov 2025 11:31:05 -0500 Subject: [PATCH 2/2] fix --- docs/streams/upgrade-guide.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/streams/upgrade-guide.html b/docs/streams/upgrade-guide.html index 88d14a16a9f85..25ee9ff4aeeef 100644 --- a/docs/streams/upgrade-guide.html +++ b/docs/streams/upgrade-guide.html @@ -138,12 +138,12 @@

Streams API

- Kafka Streams now provides rebalance listener metrics to monitor the latency of rebalance callbacks. + Kafka Streams now provides rebalance listener metrics for "streams" groups to monitor the latency of rebalance callbacks. The following metrics are available at the thread level: tasks-revoked-latency-avg, tasks-revoked-latency-max, tasks-assigned-latency-avg, tasks-assigned-latency-max, tasks-lost-latency-avg, and tasks-lost-latency-max. - These metrics are particularly useful for applications using the new Streams Rebalance Protocol (KIP-1071). + Note that these metrics are only populated when the Streams Rebalance Protocol (KIP-1071) is enabled. Users migrating from the consumer rebalance listener metrics should update their monitoring dashboards and alerts to use these new streams-specific metrics. - More details can be found in KIP-1216. + More details can be found in KIP-1216.

Streams API changes in 4.1.0