JimGalasyn commented on code in PR #16336:
URL: https://github.com/apache/kafka/pull/16336#discussion_r1638992064
##########
docs/streams/upgrade-guide.html:
##########
@@ -303,6 +303,35 @@ <h3><a id="streams_api_changes_350"
href="#streams_api_changes_350">Streams API
adds a new config <code>default.client.supplier</code> that allows to
use a custom <code>KafkaClientSupplier</code> without any code changes.
</p>
+ <h3><a id="streams_api_changes_340"
href="#streams_api_changes_340">Streams API changes in 3.4.0</a></h3>
+ <p>
+ <a
href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=186878390">KIP-770</a>
deprecates
+ config <code>cache.max.bytes.buffering</code> in favor of the newly
introduced config <code>statestore.cache.max.bytes</code>.
+ To improve monitoring, two new metrics
<code>input-buffer-bytes-total</code> and <code>cache-size-bytes-total</code>
+ were added at the DEBUG level. Note, that the KIP is only partially
implement in 3.4.0 release and config
+ <code>input.buffer.max.bytes</code> is not available yet.
+ </p>
+
+ <p>
+ <a
href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=211883356">KIP-873</a>
enables you to multicast
+ result records to multiple partition of downstream sink topics and adds
functionality for choosing to drop result records without sending.
+ The <code>Integer StreamPartitioner.partition()</code> method is
deprecated and replaced by the newly added
+
<code>Optiona≶Set<Integer>>StreamPartitioner.partitions()</code>
method, that allows to return a set of partitions to send the record to.
Review Comment:
```suggestion
<code>Optiona≶Set<Integer>>StreamPartitioner.partitions()</code>
method, which enables returning a set of partitions to send the record to.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]