Skip to content

Commit 8035097

Browse files
committed
MINOR: add KafkaStreams 4.0 information to top-level upgrade section (#18543)
Reviewers: Bruno Cadonna <[email protected]>, Alieh Saeedi <[email protected]>
1 parent fd3f238 commit 8035097

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

docs/streams/upgrade-guide.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ <h3><a id="streams_api_changes_400" href="#streams_api_changes_400">Streams API
144144
<p>
145145
In this release, eos-v1 (Exactly Once Semantics version 1) is no longer supported. To use eos-v2, brokers must be running version 2.5 or later.
146146
Additionally, all deprecated methods, classes, APIs, and config parameters up to and including AK 3.5 release have been removed.
147-
A few important ones are listed below. The full list can be found <a href="https://issues.apache.org/jira/browse/KAFKA-12822">here</a>.
147+
A few important ones are listed below. The full list can be found in <a href="https://issues.apache.org/jira/browse/KAFKA-12822">KAFKA-12822</a>.
148148
<ul>
149149
<li><a href="https://issues.apache.org/jira/browse/KAFKA-12829">Old processor APIs</a></li>
150150
<li><a href="https://issues.apache.org/jira/browse/KAFKA-12823">KStream#through() in both Java and Scala</a></li>

docs/upgrade.html

+24-4
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ <h4><a id="upgrade_4_0_0" href="#upgrade_4_0_0">Upgrading to 4.0.0 from any vers
2323
<h5><a id="upgrade_400_notable" href="#upgrade_400_notable">Notable changes in 4.0.0</a></h5>
2424
<ul>
2525
<li>
26-
Old protocol API versions have been removed. Users should ensure brokers are version 2.1 or higher before upgrading the Java clients to 4.0.
27-
Similarly, users should ensure their Java clients version 2.1 or higher before upgrading the brokers to 4.0. Finally, care also needs to be
28-
taken when it comes to kafka clients that are not part of Apache Kafka, please see
26+
Old protocol API versions have been removed. Users should ensure brokers are version 2.1 or higher before upgrading the Java clients
27+
(including Connect and Kafka Streams which use the clients internally) to 4.0.
28+
Similarly, users should ensure their Java clients (including Connect and Kafka Streams) version is 2.1 or higher before upgrading the brokers to 4.0.
29+
Finally, care also needs to be taken when it comes to kafka clients that are not part of Apache Kafka, please see
2930
<a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-896%3A+Remove+old+client+protocol+API+versions+in+Kafka+4.0">KIP-896</a> for the details.
3031
</li>
3132
<li>A number of deprecated classes, methods, configurations and tools have been removed.
@@ -248,12 +249,26 @@ <h5><a id="upgrade_400_notable" href="#upgrade_400_notable">Notable changes in 4
248249
</li>
249250
</ul>
250251
</li>
252+
<li><b>Kafka Streams</b>
253+
<ul>
254+
<li>
255+
All public API, deprecated in Apache Kafka 3.6 or an earlier release, have been removed, with the exception of <code>JoinWindows.of()</code> and <code>JoinWindows#grace()</code>.
256+
See <a href="https://issues.apache.org/jira/browse/KAFKA-17531">KAFKA-17531</a> for details.
257+
</li>
258+
<li>
259+
The most important changes are highlighted in the <a href=""/{{version}}/documentation/streams/upgrade-guide.html#streams_api_changes_400">Kafka Streams upgrade guide</a>.
260+
</li>
261+
<li>
262+
For a full list of changes, see <a href="https://issues.apache.org/jira/browse/KAFKA-12822">KAFKA-12822</a>.
263+
</li>
264+
</ul>
265+
</li>
251266
</ul>
252267
</li>
253268
<li>Other changes:
254269
<ul>
255270
<li>
256-
The minimum Java version required by clients and streams applications has been increased from Java 8 to Java 11
271+
The minimum Java version required by clients and Kafka Streams applications has been increased from Java 8 to Java 11
257272
while brokers, connect and tools now require Java 17.
258273
See <a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=181308223">KIP-750</a> and
259274
<a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=284789510">KIP-1013</a> for more details.
@@ -290,6 +305,11 @@ <h5><a id="upgrade_400_notable" href="#upgrade_400_notable">Notable changes in 4
290305
been updated to enable the replication of topics that appear to be internal but aren't truly internal to Kafka and Mirror Maker 2.
291306
See <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-1074%3A+Allow+the+replication+of+user+internal+topics">KIP-1074</a> for more details.
292307
</li>
308+
<li>
309+
KIP-714 is now enabled for Kafka Streams via <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-1076%3A++Metrics+for+client+applications+KIP-714+extension">KIP-1076</a>.
310+
This allows to not only collect the metric of the internally used clients of a Kafka Streams appliction via a broker-side plugin,
311+
but also to collect the <a href="/{{version}}/documentation/#kafka_streams_monitoring">metrics</a> of the Kafka Streams runtime itself.
312+
</li>
293313
</ul>
294314
</li>
295315
</ul>

0 commit comments

Comments
 (0)