You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ch...@apache.org on 2020/11/11 11:58:35 UTC

[kafka] branch trunk updated: MINOR: Remove the extra brackets in the demo code (#9586)

This is an automated email from the ASF dual-hosted git repository.

chia7712 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 1565849  MINOR: Remove the extra brackets in the demo code (#9586)
1565849 is described below

commit 156584915a61d15c8840ed14eed4ff1474b77db6
Author: zhangyue19921010 <69...@users.noreply.github.com>
AuthorDate: Wed Nov 11 19:57:40 2020 +0800

    MINOR: Remove the extra brackets in the demo code (#9586)
    
    Reviewers: Chia-Ping Tsai <ch...@gmail.com>
---
 docs/quickstart-docker.html    | 2 +-
 docs/quickstart-zookeeper.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/quickstart-docker.html b/docs/quickstart-docker.html
index d8816ba..a4be3bd 100644
--- a/docs/quickstart-docker.html
+++ b/docs/quickstart-docker.html
@@ -149,7 +149,7 @@ KTable<String, Long> wordCounts = textLines
             .groupBy((keyIgnored, word) -> word)
             .count();
 
-wordCounts.toStream().to("output-topic"), Produced.with(Serdes.String(), Serdes.Long()));</code></pre>
+wordCounts.toStream().to("output-topic", Produced.with(Serdes.String(), Serdes.Long()));</code></pre>
 <p>The <a href="/25/documentation/streams/quickstart" rel="nofollow">Kafka Streams demo</a> and the
 <a href="/25/documentation/streams/tutorial" rel="nofollow">app development tutorial</a> demonstrate how to code and run
 such a streaming application from start to finish.</p>
diff --git a/docs/quickstart-zookeeper.html b/docs/quickstart-zookeeper.html
index e6238b6..30cc832 100644
--- a/docs/quickstart-zookeeper.html
+++ b/docs/quickstart-zookeeper.html
@@ -196,7 +196,7 @@ KTable&lt;String, Long&gt; wordCounts = textLines
             .groupBy((keyIgnored, word) -&gt; word)
             .count();
 
-wordCounts.toStream().to("output-topic"), Produced.with(Serdes.String(), Serdes.Long()));</code></pre>
+wordCounts.toStream().to("output-topic", Produced.with(Serdes.String(), Serdes.Long()));</code></pre>
 
   <p>
       The <a href="/25/documentation/streams/quickstart">Kafka Streams demo</a>