This is an automated email from the ASF dual-hosted git repository.
mjsax pushed a commit to branch 3.9
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/3.9 by this push:
new 1a996218422 MINOR: update docs for KAFKA-19668 (#20506)
1a996218422 is described below
commit 1a996218422f30c888ddb93de91a5e04a0a03257
Author: Matthias J. Sax <[email protected]>
AuthorDate: Mon Sep 8 13:39:31 2025 -0700
MINOR: update docs for KAFKA-19668 (#20506)
Docs change for
[KAFKA-19668](https://issues.apache.org/jira/browse/KAFKA-19668) bug
fix.
Reviewers: Bill Bejeck <[email protected]>
---
docs/streams/developer-guide/dsl-api.html | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/streams/developer-guide/dsl-api.html
b/docs/streams/developer-guide/dsl-api.html
index c5c1797490a..10b6de2f888 100644
--- a/docs/streams/developer-guide/dsl-api.html
+++ b/docs/streams/developer-guide/dsl-api.html
@@ -3180,6 +3180,9 @@ grouped
</tr>
</tbody>
</table>
+
+ <p><b>CAUTION:</b> If you are using "merge repartition topics"
optimization, it is not recommended to use <code>KStream#processValues</code>
to avoid compatibility issues for future upgrades to newer versions of Kafka
Streams.
+ For more details, see the <a
href="/40/documentation/streams/developer-guide/dsl-api.htm#transformers-removal-and-migration-to-processors">migration
guide</a> in the Kafka Streams 4.0 docs.</p>
<p>The following example shows how to leverage, via the <code
class="docutils literal"><span class="pre">KStream#process()</span></code>
method, a custom <code class="docutils literal"><span
class="pre">Processor</span></code> that sends an
email notification whenever a page view count reaches a
predefined threshold.</p>
<p>First, we need to implement a custom stream processor,
<code class="docutils literal"><span
class="pre">PopularPageEmailAlert</span></code>, that implements the <code
class="docutils literal"><span class="pre">Processor</span></code>