You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by mj...@apache.org on 2022/12/14 19:45:56 UTC
[kafka-site] branch asf-site updated: MINOR: update Streams upgrade guide for 3.1 release (#465)
This is an automated email from the ASF dual-hosted git repository.
mjsax pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/kafka-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new ae58e256 MINOR: update Streams upgrade guide for 3.1 release (#465)
ae58e256 is described below
commit ae58e256ada6db5f08e98fa7bf0dc1cd8797f85a
Author: Matthias J. Sax <ma...@confluent.io>
AuthorDate: Wed Dec 14 11:45:51 2022 -0800
MINOR: update Streams upgrade guide for 3.1 release (#465)
---
31/streams/upgrade-guide.html | 36 ++++++++++++++++++++++++++++++++++++
32/streams/upgrade-guide.html | 36 ++++++++++++++++++++++++++++++++++++
33/streams/upgrade-guide.html | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 108 insertions(+)
diff --git a/31/streams/upgrade-guide.html b/31/streams/upgrade-guide.html
index d2bfa31a..a6c1d211 100644
--- a/31/streams/upgrade-guide.html
+++ b/31/streams/upgrade-guide.html
@@ -105,6 +105,42 @@
More details about the new config <code>StreamsConfig#TOPOLOGY_OPTIMIZATION</code> can be found in <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-295%3A+Add+Streams+Configuration+Allowing+for+Optional+Topology+Optimization">KIP-295</a>.
</p>
+ <h3><a id="streams_api_changes_310" href="#streams_api_changes_310">Streams API changes in 3.1.0</a></h3>
+ <p>
+ The semantics of left/outer stream-stream join got improved via
+ <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-633%3A+Deprecate+24-hour+Default+Grace+Period+for+Windowed+Operations+in+Streams">KIP-633</a>.
+ Previously, left-/outer stream-stream join might have emitted so-call spurious left/outer results, due to an eager-emit strategy.
+ The implementation was changed to emit left/outer join result records only after the join window is closed.
+ The old API to specify the join window, i.e., <code>JoinWindows.of()</code> that enables the eager-emit strategy,
+ was deprecated in favor of a <code>JoinWindows.ofTimeDifferenceAndGrace()</code> and <code>JoinWindows.ofTimeDifferencWithNoGrace()</code>.
+ The new semantics are only enabled if you use the new join window builders.<br />
+ Additionally, KIP-633 makes setting a grace period also mandatory for windowed aggregations, i.e., for
+ <code>TimeWindows</code> (hopping/tumbling), <code>SessionWindows</code>, and <code>SlidingWindows</code>.
+ The corresponding builder methods <code>.of(...)</code> were deprecated in favor of the new
+ <code>.ofTimeDifferenceAndGrace()</code> and <code>.ofTimeDifferencWithNoGrace()</code> methods.
+ </p>
+
+ <p>
+ <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-761%3A+Add+Total+Blocked+Time+Metric+to+Streams">KIP-761</a>
+ adds new metrics that allow to track blocking times on the underlying consumer and producer clients.
+ Check out the section on <a href="/documentation/#kafka_streams_monitoring">Kafka Streams metrics</a> for more details.
+ </p>
+
+ <p>
+ <a href="/documentation/streams/developer-guide/interactive-queries.html">Interactive Queries</a> were improved via
+ <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-763%3A+Range+queries+with+open+endpoints">KIP-763</a>
+ <a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=186876596">KIP-766</a>.
+ Range queries now accept <code>null</code> as lower/upper key-range bound to indicate an open-ended lower/upper bound.
+ </p>
+
+ <p>
+ Foreign-key table-table joins now support custom partitioners via
+ <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-775%3A+Custom+partitioners+in+foreign+key+joins">KIP-775</a>.
+ Previously, if an input table was partitioned by a non-default partitioner, joining records might fail.
+ With KIP-775 you now can pass a custom <code>StreamPartitioner</code> into the join using the newly added
+ <code>TableJoined</code> object.
+ </p>
+
<h3><a id="streams_api_changes_300" href="#streams_api_changes_300">Streams API changes in 3.0.0</a></h3>
<p>
We improved the semantics of
diff --git a/32/streams/upgrade-guide.html b/32/streams/upgrade-guide.html
index d2bfa31a..a6c1d211 100644
--- a/32/streams/upgrade-guide.html
+++ b/32/streams/upgrade-guide.html
@@ -105,6 +105,42 @@
More details about the new config <code>StreamsConfig#TOPOLOGY_OPTIMIZATION</code> can be found in <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-295%3A+Add+Streams+Configuration+Allowing+for+Optional+Topology+Optimization">KIP-295</a>.
</p>
+ <h3><a id="streams_api_changes_310" href="#streams_api_changes_310">Streams API changes in 3.1.0</a></h3>
+ <p>
+ The semantics of left/outer stream-stream join got improved via
+ <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-633%3A+Deprecate+24-hour+Default+Grace+Period+for+Windowed+Operations+in+Streams">KIP-633</a>.
+ Previously, left-/outer stream-stream join might have emitted so-call spurious left/outer results, due to an eager-emit strategy.
+ The implementation was changed to emit left/outer join result records only after the join window is closed.
+ The old API to specify the join window, i.e., <code>JoinWindows.of()</code> that enables the eager-emit strategy,
+ was deprecated in favor of a <code>JoinWindows.ofTimeDifferenceAndGrace()</code> and <code>JoinWindows.ofTimeDifferencWithNoGrace()</code>.
+ The new semantics are only enabled if you use the new join window builders.<br />
+ Additionally, KIP-633 makes setting a grace period also mandatory for windowed aggregations, i.e., for
+ <code>TimeWindows</code> (hopping/tumbling), <code>SessionWindows</code>, and <code>SlidingWindows</code>.
+ The corresponding builder methods <code>.of(...)</code> were deprecated in favor of the new
+ <code>.ofTimeDifferenceAndGrace()</code> and <code>.ofTimeDifferencWithNoGrace()</code> methods.
+ </p>
+
+ <p>
+ <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-761%3A+Add+Total+Blocked+Time+Metric+to+Streams">KIP-761</a>
+ adds new metrics that allow to track blocking times on the underlying consumer and producer clients.
+ Check out the section on <a href="/documentation/#kafka_streams_monitoring">Kafka Streams metrics</a> for more details.
+ </p>
+
+ <p>
+ <a href="/documentation/streams/developer-guide/interactive-queries.html">Interactive Queries</a> were improved via
+ <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-763%3A+Range+queries+with+open+endpoints">KIP-763</a>
+ <a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=186876596">KIP-766</a>.
+ Range queries now accept <code>null</code> as lower/upper key-range bound to indicate an open-ended lower/upper bound.
+ </p>
+
+ <p>
+ Foreign-key table-table joins now support custom partitioners via
+ <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-775%3A+Custom+partitioners+in+foreign+key+joins">KIP-775</a>.
+ Previously, if an input table was partitioned by a non-default partitioner, joining records might fail.
+ With KIP-775 you now can pass a custom <code>StreamPartitioner</code> into the join using the newly added
+ <code>TableJoined</code> object.
+ </p>
+
<h3><a id="streams_api_changes_300" href="#streams_api_changes_300">Streams API changes in 3.0.0</a></h3>
<p>
We improved the semantics of
diff --git a/33/streams/upgrade-guide.html b/33/streams/upgrade-guide.html
index 7b6075d6..bba7068b 100644
--- a/33/streams/upgrade-guide.html
+++ b/33/streams/upgrade-guide.html
@@ -105,6 +105,42 @@
More details about the new config <code>StreamsConfig#TOPOLOGY_OPTIMIZATION</code> can be found in <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-295%3A+Add+Streams+Configuration+Allowing+for+Optional+Topology+Optimization">KIP-295</a>.
</p>
+ <h3><a id="streams_api_changes_310" href="#streams_api_changes_310">Streams API changes in 3.1.0</a></h3>
+ <p>
+ The semantics of left/outer stream-stream join got improved via
+ <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-633%3A+Deprecate+24-hour+Default+Grace+Period+for+Windowed+Operations+in+Streams">KIP-633</a>.
+ Previously, left-/outer stream-stream join might have emitted so-call spurious left/outer results, due to an eager-emit strategy.
+ The implementation was changed to emit left/outer join result records only after the join window is closed.
+ The old API to specify the join window, i.e., <code>JoinWindows.of()</code> that enables the eager-emit strategy,
+ was deprecated in favor of a <code>JoinWindows.ofTimeDifferenceAndGrace()</code> and <code>JoinWindows.ofTimeDifferencWithNoGrace()</code>.
+ The new semantics are only enabled if you use the new join window builders.<br />
+ Additionally, KIP-633 makes setting a grace period also mandatory for windowed aggregations, i.e., for
+ <code>TimeWindows</code> (hopping/tumbling), <code>SessionWindows</code>, and <code>SlidingWindows</code>.
+ The corresponding builder methods <code>.of(...)</code> were deprecated in favor of the new
+ <code>.ofTimeDifferenceAndGrace()</code> and <code>.ofTimeDifferencWithNoGrace()</code> methods.
+ </p>
+
+ <p>
+ <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-761%3A+Add+Total+Blocked+Time+Metric+to+Streams">KIP-761</a>
+ adds new metrics that allow to track blocking times on the underlying consumer and producer clients.
+ Check out the section on <a href="/documentation/#kafka_streams_monitoring">Kafka Streams metrics</a> for more details.
+ </p>
+
+ <p>
+ <a href="/documentation/streams/developer-guide/interactive-queries.html">Interactive Queries</a> were improved via
+ <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-763%3A+Range+queries+with+open+endpoints">KIP-763</a>
+ <a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=186876596">KIP-766</a>.
+ Range queries now accept <code>null</code> as lower/upper key-range bound to indicate an open-ended lower/upper bound.
+ </p>
+
+ <p>
+ Foreign-key table-table joins now support custom partitioners via
+ <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-775%3A+Custom+partitioners+in+foreign+key+joins">KIP-775</a>.
+ Previously, if an input table was partitioned by a non-default partitioner, joining records might fail.
+ With KIP-775 you now can pass a custom <code>StreamPartitioner</code> into the join using the newly added
+ <code>TableJoined</code> object.
+ </p>
+
<h3><a id="streams_api_changes_300" href="#streams_api_changes_300">Streams API changes in 3.0.0</a></h3>
<p>
We improved the semantics of