This is an automated email from the ASF dual-hosted git repository.
guozhang pushed a commit to branch 1.0
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/1.0 by this push:
new 1d7febe MINOR: Fix some streams web doc nits (#4411)
1d7febe is described below
commit 1d7febe33d676010b5c96da8a0fbcfe9a1e828d1
Author: Joel Hamill <[email protected]>
AuthorDate: Mon Jan 29 10:08:48 2018 -0800
MINOR: Fix some streams web doc nits (#4411)
Reviewers: Derrick Or <[email protected]>, Guozhang Wang
<[email protected]>
---
.../app-reset-tool.html} | 4 ++--
.../config-streams.html} | 4 ++--
.../datatypes.html} | 4 ++--
.../dsl-api.html} | 4 ++--
.../index.html} | 4 ++--
.../interactive-queries.html} | 4 ++--
.../manage-topics.html} | 4 ++--
.../memory-mgmt.html} | 4 ++--
.../processor-api.html} | 4 ++--
.../running-app.html} | 4 ++--
.../security.html} | 4 ++--
.../write-streams.html} | 4 ++--
docs/streams/developer-guide/dsl-api.html | 17 ++++++++---------
docs/streams/developer-guide/interactive-queries.html | 4 ++--
docs/streams/developer-guide/processor-api.html | 2 +-
15 files changed, 35 insertions(+), 36 deletions(-)
diff --git a/docs/documentation/streams/developer-guide.html
b/docs/documentation/streams/developer-guide/app-reset-tool.html
similarity index 84%
copy from docs/documentation/streams/developer-guide.html
copy to docs/documentation/streams/developer-guide/app-reset-tool.html
index e258331..64a43aa 100644
--- a/docs/documentation/streams/developer-guide.html
+++ b/docs/documentation/streams/developer-guide/app-reset-tool.html
@@ -15,5 +15,5 @@
limitations under the License.
-->
-<!-- should always link the the latest release's documentation -->
-<!--#include virtual="../../streams/developer-guide.html" -->
+<!-- should always link the latest release's documentation -->
+<!--#include virtual="../../../streams/developer-guide/app-reset-tool.html" -->
diff --git a/docs/documentation/streams/developer-guide.html
b/docs/documentation/streams/developer-guide/config-streams.html
similarity index 84%
copy from docs/documentation/streams/developer-guide.html
copy to docs/documentation/streams/developer-guide/config-streams.html
index e258331..979f66d 100644
--- a/docs/documentation/streams/developer-guide.html
+++ b/docs/documentation/streams/developer-guide/config-streams.html
@@ -15,5 +15,5 @@
limitations under the License.
-->
-<!-- should always link the the latest release's documentation -->
-<!--#include virtual="../../streams/developer-guide.html" -->
+<!-- should always link the latest release's documentation -->
+<!--#include virtual="../../../streams/developer-guide/config-streams.html" -->
diff --git a/docs/documentation/streams/developer-guide.html
b/docs/documentation/streams/developer-guide/datatypes.html
similarity index 84%
copy from docs/documentation/streams/developer-guide.html
copy to docs/documentation/streams/developer-guide/datatypes.html
index e258331..98dd3a1 100644
--- a/docs/documentation/streams/developer-guide.html
+++ b/docs/documentation/streams/developer-guide/datatypes.html
@@ -15,5 +15,5 @@
limitations under the License.
-->
-<!-- should always link the the latest release's documentation -->
-<!--#include virtual="../../streams/developer-guide.html" -->
+<!-- should always link the latest release's documentation -->
+<!--#include virtual="../../../streams/developer-guide/datatypes.html" -->
diff --git a/docs/documentation/streams/developer-guide.html
b/docs/documentation/streams/developer-guide/dsl-api.html
similarity index 85%
copy from docs/documentation/streams/developer-guide.html
copy to docs/documentation/streams/developer-guide/dsl-api.html
index e258331..1bbc06d 100644
--- a/docs/documentation/streams/developer-guide.html
+++ b/docs/documentation/streams/developer-guide/dsl-api.html
@@ -15,5 +15,5 @@
limitations under the License.
-->
-<!-- should always link the the latest release's documentation -->
-<!--#include virtual="../../streams/developer-guide.html" -->
+<!-- should always link the latest release's documentation -->
+<!--#include virtual="../../../streams/developer-guide/dsl-api.html" -->
diff --git a/docs/documentation/streams/developer-guide.html
b/docs/documentation/streams/developer-guide/index.html
similarity index 85%
copy from docs/documentation/streams/developer-guide.html
copy to docs/documentation/streams/developer-guide/index.html
index e258331..3a61247 100644
--- a/docs/documentation/streams/developer-guide.html
+++ b/docs/documentation/streams/developer-guide/index.html
@@ -15,5 +15,5 @@
limitations under the License.
-->
-<!-- should always link the the latest release's documentation -->
-<!--#include virtual="../../streams/developer-guide.html" -->
+<!-- should always link the latest release's documentation -->
+<!--#include virtual="../../../streams/developer-guide/index.html" -->
diff --git a/docs/documentation/streams/developer-guide.html
b/docs/documentation/streams/developer-guide/interactive-queries.html
similarity index 83%
copy from docs/documentation/streams/developer-guide.html
copy to docs/documentation/streams/developer-guide/interactive-queries.html
index e258331..0506012 100644
--- a/docs/documentation/streams/developer-guide.html
+++ b/docs/documentation/streams/developer-guide/interactive-queries.html
@@ -15,5 +15,5 @@
limitations under the License.
-->
-<!-- should always link the the latest release's documentation -->
-<!--#include virtual="../../streams/developer-guide.html" -->
+<!-- should always link the latest release's documentation -->
+<!--#include
virtual="../../../streams/developer-guide/interactive-queries.html" -->
diff --git a/docs/documentation/streams/developer-guide.html
b/docs/documentation/streams/developer-guide/manage-topics.html
similarity index 84%
copy from docs/documentation/streams/developer-guide.html
copy to docs/documentation/streams/developer-guide/manage-topics.html
index e258331..f422554 100644
--- a/docs/documentation/streams/developer-guide.html
+++ b/docs/documentation/streams/developer-guide/manage-topics.html
@@ -15,5 +15,5 @@
limitations under the License.
-->
-<!-- should always link the the latest release's documentation -->
-<!--#include virtual="../../streams/developer-guide.html" -->
+<!-- should always link the latest release's documentation -->
+<!--#include virtual="../../../streams/developer-guide/manage-topics.html" -->
diff --git a/docs/documentation/streams/developer-guide.html
b/docs/documentation/streams/developer-guide/memory-mgmt.html
similarity index 84%
copy from docs/documentation/streams/developer-guide.html
copy to docs/documentation/streams/developer-guide/memory-mgmt.html
index e258331..024e137 100644
--- a/docs/documentation/streams/developer-guide.html
+++ b/docs/documentation/streams/developer-guide/memory-mgmt.html
@@ -15,5 +15,5 @@
limitations under the License.
-->
-<!-- should always link the the latest release's documentation -->
-<!--#include virtual="../../streams/developer-guide.html" -->
+<!-- should always link the latest release's documentation -->
+<!--#include virtual="../../../streams/developer-guide/memory-mgmt.html" -->
diff --git a/docs/documentation/streams/developer-guide.html
b/docs/documentation/streams/developer-guide/processor-api.html
similarity index 84%
copy from docs/documentation/streams/developer-guide.html
copy to docs/documentation/streams/developer-guide/processor-api.html
index e258331..9e9ab91 100644
--- a/docs/documentation/streams/developer-guide.html
+++ b/docs/documentation/streams/developer-guide/processor-api.html
@@ -15,5 +15,5 @@
limitations under the License.
-->
-<!-- should always link the the latest release's documentation -->
-<!--#include virtual="../../streams/developer-guide.html" -->
+<!-- should always link the latest release's documentation -->
+<!--#include virtual="../../../streams/developer-guide/processor-api.html" -->
diff --git a/docs/documentation/streams/developer-guide.html
b/docs/documentation/streams/developer-guide/running-app.html
similarity index 84%
copy from docs/documentation/streams/developer-guide.html
copy to docs/documentation/streams/developer-guide/running-app.html
index e258331..05d5f0b 100644
--- a/docs/documentation/streams/developer-guide.html
+++ b/docs/documentation/streams/developer-guide/running-app.html
@@ -15,5 +15,5 @@
limitations under the License.
-->
-<!-- should always link the the latest release's documentation -->
-<!--#include virtual="../../streams/developer-guide.html" -->
+<!-- should always link the latest release's documentation -->
+<!--#include virtual="../../../streams/developer-guide/running-app.html" -->
diff --git a/docs/documentation/streams/developer-guide.html
b/docs/documentation/streams/developer-guide/security.html
similarity index 84%
copy from docs/documentation/streams/developer-guide.html
copy to docs/documentation/streams/developer-guide/security.html
index e258331..5d6e5f0 100644
--- a/docs/documentation/streams/developer-guide.html
+++ b/docs/documentation/streams/developer-guide/security.html
@@ -15,5 +15,5 @@
limitations under the License.
-->
-<!-- should always link the the latest release's documentation -->
-<!--#include virtual="../../streams/developer-guide.html" -->
+<!-- should always link the latest release's documentation -->
+<!--#include virtual="../../../streams/developer-guide/security.html" -->
diff --git a/docs/documentation/streams/developer-guide.html
b/docs/documentation/streams/developer-guide/write-streams.html
similarity index 84%
rename from docs/documentation/streams/developer-guide.html
rename to docs/documentation/streams/developer-guide/write-streams.html
index e258331..976c6fe 100644
--- a/docs/documentation/streams/developer-guide.html
+++ b/docs/documentation/streams/developer-guide/write-streams.html
@@ -15,5 +15,5 @@
limitations under the License.
-->
-<!-- should always link the the latest release's documentation -->
-<!--#include virtual="../../streams/developer-guide.html" -->
+<!-- should always link the latest release's documentation -->
+<!--#include virtual="../../../streams/developer-guide/write-streams.html" -->
diff --git a/docs/streams/developer-guide/dsl-api.html
b/docs/streams/developer-guide/dsl-api.html
index 6b24cb5..441e9df 100644
--- a/docs/streams/developer-guide/dsl-api.html
+++ b/docs/streams/developer-guide/dsl-api.html
@@ -418,7 +418,7 @@
<strong>must do</strong> if the key and/or
value types of the resulting <code class="docutils literal"><span
class="pre">KGroupedStream</span></code> do not match the configured default
SerDes.</p>
<div class="admonition note">
- <p class="first admonition-title">Note</p>
+ <p><b>Note</b></p>
<p class="last"><strong>Grouping vs.
Windowing:</strong>
A related operation is <a class="reference
internal" href="#streams-developer-guide-dsl-windowing"><span class="std
std-ref">windowing</span></a>, which lets you control how to
“sub-group” the grouped
records <em>of the same key</em> into so-called <em>windows</em> for stateful
operations such as
@@ -464,7 +464,7 @@
<strong>do</strong> if the key and/or value
types of the resulting <code class="docutils literal"><span
class="pre">KGroupedStream</span></code> or <code class="docutils
literal"><span class="pre">KGroupedTable</span></code> do not match the
configured default SerDes.</p>
<div class="admonition note">
- <p class="first admonition-title">Note</p>
+ <p><b>Note</b></p>
<p class="last"><strong>Grouping vs.
Windowing:</strong>
A related operation is <a class="reference
internal" href="#streams-developer-guide-dsl-windowing"><span class="std
std-ref">windowing</span></a>, which lets you control how to
“sub-group” the grouped
records <em>of the same key</em> into so-called <em>windows</em> for stateful
operations such as
@@ -1204,7 +1204,7 @@
</pre></div>
</div>
<div class="admonition note">
- <p class="first admonition-title">Note</p>
+ <p><b>Note</b></p>
<p class="last"><strong>Impact of record
caches</strong>:
For illustration purposes, the column
“KTable <code class="docutils literal"><span
class="pre">aggregated</span></code>” below shows the table’s state
changes over time in a
very granular way. In practice, you would observe
state changes in such a granular way only when
@@ -1334,7 +1334,7 @@
</pre></div>
</div>
<div class="admonition note">
- <p class="first admonition-title">Note</p>
+ <p><b>Note</b></p>
<p class="last"><strong>Impact of record
caches</strong>:
For illustration purposes, the column
“KTable <code class="docutils literal"><span
class="pre">aggregated</span></code>” below shows the table’s state
changes over time in a
very granular way. In practice, you would observe
state changes in such a granular way only when
@@ -1531,7 +1531,6 @@
<td>Not Supported</td>
<td>Not Supported</td>
<td>Not Supported</td>
- <td>N/A</td>
</tr>
</tbody>
</table>
@@ -1569,7 +1568,7 @@
each <code class="docutils literal"><span
class="pre">KafkaStreams</span></code> instance, i.e. each instance has a full
copy of the changelog stream. Further, a
<code class="docutils literal"><span
class="pre">KeyValueMapper</span></code> allows for non-key based joins from
the <code class="docutils literal"><span class="pre">KStream</span></code> to
the <code class="docutils literal"><span
class="pre">GlobalKTable</span></code>.</p>
<div class="admonition note">
- <p class="first admonition-title">Note</p>
+ <p><b>Note</b></p>
<p class="last"><strong>Kafka Streams partly
verifies the co-partitioning requirement:</strong>
During the partition assignment step, i.e. at
runtime, Kafka Streams verifies whether the number of partitions for
both sides of a join are the same. If they
are not, a <code class="docutils literal"><span
class="pre">TopologyBuilderException</span></code> (runtime exception) is being
@@ -2691,7 +2690,7 @@
<a class="reference internal"
href="#streams-developer-guide-dsl-aggregating"><span class="std
std-ref">aggregations</span></a> or <a class="reference internal"
href="#streams-developer-guide-dsl-joins"><span class="std
std-ref">joins</span></a> into
so-called windows. Windows are tracked per record
key.</p>
<div class="admonition note">
- <p class="first admonition-title">Note</p>
+ <p><b>Note</b></p>
<p class="last">A related operation is <a
class="reference internal"
href="#streams-developer-guide-dsl-transformations-stateless"><span class="std
std-ref">grouping</span></a>, which groups all
records that have the same key to ensure that data
is properly partitioned (“keyed”) for subsequent operations.
Once grouped, windowing allows you to further
sub-group the records of a key.</p>
@@ -2776,7 +2775,7 @@ become t=300,000).</span></p>
hopping window with a size 5 minutes and an
advance interval of 1 minute. Since hopping windows can overlap – and in
general they do – a data record may belong
to more than one such windows.</p>
<div class="admonition note">
- <p class="first admonition-title">Note</p>
+ <p><b>Note</b></p>
<p class="last"><strong>Hopping windows vs.
sliding windows:</strong>
Hopping windows are sometimes called
“sliding windows” in other stream processing tools. Kafka Streams
follows the
terminology in academic literature, where the
semantics of sliding windows are different to those of hopping windows.</p>
@@ -3146,7 +3145,7 @@ t=5 (blue), which lead to a merge of sessions and an
extension of a session, res
</tbody>
</table>
<div class="admonition note">
- <p class="first admonition-title">Note</p>
+ <p><b>Note</b></p>
<p class="last"><strong>When you want to write to systems
other than Kafka:</strong>
Besides writing the data back to Kafka, you can also apply
a
<a class="reference internal"
href="#streams-developer-guide-dsl-process"><span class="std std-ref">custom
processor</span></a> as a stream sink at the end of the processing to, for
diff --git a/docs/streams/developer-guide/interactive-queries.html
b/docs/streams/developer-guide/interactive-queries.html
index f93d2d6..a61c288 100644
--- a/docs/streams/developer-guide/interactive-queries.html
+++ b/docs/streams/developer-guide/interactive-queries.html
@@ -120,7 +120,7 @@
</ul>
<p>You can also <a class="reference internal"
href="#streams-developer-guide-interactive-queries-custom-stores"><span
class="std std-ref">implement your own QueryableStoreType</span></a> as
described in section <a class="reference internal"
href="#streams-developer-guide-interactive-queries-custom-stores"><span
class="std std-ref">Querying local custom state stores</span></a>.</p>
<div class="admonition note">
- <p class="first admonition-title">Note</p>
+ <p><b>Note</b></p>
<p class="last">Kafka Streams materializes one state store per
stream partition. This means your application will potentially manage
many underlying state stores. The API enables you to
query all of the underlying stores without having to know which
partition the data is in.</p>
@@ -227,7 +227,7 @@
<div class="section" id="querying-local-custom-state-stores">
<span
id="streams-developer-guide-interactive-queries-custom-stores"></span><h3><a
class="toc-backref" href="#id6">Querying local custom state stores</a><a
class="headerlink" href="#querying-local-custom-state-stores" title="Permalink
to this headline"></a></h3>
<div class="admonition note">
- <p class="first admonition-title">Note</p>
+ <p><b>Note</b></p>
<p class="last">Only the <a class="reference internal"
href="processor-api.html#streams-developer-guide-processor-api"><span
class="std std-ref">Processor API</span></a> supports custom state stores.</p>
</div>
<p>Before querying the custom state stores you must implement
these interfaces:</p>
diff --git a/docs/streams/developer-guide/processor-api.html
b/docs/streams/developer-guide/processor-api.html
index 5ed569a..b92e85b 100644
--- a/docs/streams/developer-guide/processor-api.html
+++ b/docs/streams/developer-guide/processor-api.html
@@ -148,7 +148,7 @@
</pre></div>
</div>
<div class="admonition note">
- <p class="first admonition-title">Note</p>
+ <p><b>Note</b></p>
<p class="last"><strong>Stateful processing with state
stores:</strong>
The <code class="docutils literal"><span
class="pre">WordCountProcessor</span></code> defined above can access the
currently received record in its <code class="docutils literal"><span
class="pre">process()</span></code> method, and it can
leverage <a class="reference internal"
href="#streams-developer-guide-state-store"><span class="std std-ref">state
stores</span></a> to maintain processing states to, for example, remember
recently
--
To stop receiving notification emails like this one, please contact
[email protected].