kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mj...@apache.org
Subject [kafka] branch trunk updated: MINOR: Add clarifying "additionally" to streams aggregator docs that is missing in one place. (#8237)
Date Mon, 23 Mar 2020 20:17:38 GMT
This is an automated email from the ASF dual-hosted git repository.

mjsax pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new eb7b829  MINOR: Add clarifying "additionally" to streams aggregator docs that is
missing in one place. (#8237)
eb7b829 is described below

commit eb7b8295ac8395fead8f8f6d1a6e7b8aef47b684
Author: Sönke Liebau <soenke.liebau@opencore.com>
AuthorDate: Mon Mar 23 21:17:00 2020 +0100

    MINOR: Add clarifying "additionally" to streams aggregator docs that is missing in one
place. (#8237)
    
    Reviewer: Matthias J. Sax <matthias@confluent.io>
---
 docs/streams/developer-guide/dsl-api.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/streams/developer-guide/dsl-api.html b/docs/streams/developer-guide/dsl-api.html
index 0d6a741..3afdba9 100644
--- a/docs/streams/developer-guide/dsl-api.html
+++ b/docs/streams/developer-guide/dsl-api.html
@@ -947,7 +947,7 @@
                                 <a class="reference external" href="/{{version}}/javadoc/org/apache/kafka/streams/kstream/KGroupedTable.html">KGroupedTable
details</a>
                                 <a class="reference external" href="/{{version}}/javadoc/org/apache/kafka/streams/kstream/CogroupedKStream.html">KGroupedTable
details</a>)</p>
                                 <p>When aggregating a <em>grouped stream</em>,
you must provide an initializer (e.g., <code class="docutils literal"><span class="pre">aggValue</span>
<span class="pre">=</span> <span class="pre">0</span></code>)
and an &#8220;adder&#8221;
-                                    aggregator (e.g., <code class="docutils literal"><span
class="pre">aggValue</span> <span class="pre">+</span> <span class="pre">curValue</span></code>).
 When aggregating a <em>grouped table</em>, you must provide a
+                                    aggregator (e.g., <code class="docutils literal"><span
class="pre">aggValue</span> <span class="pre">+</span> <span class="pre">curValue</span></code>).
 When aggregating a <em>grouped table</em>, you must additionally provide a
                                     &#8220;subtractor&#8221; aggregator (think: <code
class="docutils literal"><span class="pre">aggValue</span> <span class="pre">-</span>
<span class="pre">oldValue</span></code>).</p>
                                 <p>When aggregating a <em>cogrouped stream</em>,
the actual aggregators are provided for each input stream in the prior <code>cogroup()</code>calls,
and thus you only need to provide an initializer (e.g., <code class="docutils literal"><span
class="pre">aggValue</span> <span class="pre">=</span> <span class="pre">0</span></code>)
 


Mime
View raw message