[ 
https://issues.apache.org/jira/browse/KAFKA-6472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16361671#comment-16361671
 ] 

ASF GitHub Bot commented on KAFKA-6472:
---------------------------------------

guozhangwang closed pull request #126: KAFKA-6472 - Fix WordCount example code 
error
URL: https://github.com/apache/kafka-site/pull/126
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/10/streams/tutorial.html b/10/streams/tutorial.html
index 0bc7314..11162e8 100644
--- a/10/streams/tutorial.html
+++ b/10/streams/tutorial.html
@@ -516,7 +516,7 @@ <h4><a id="tutorial_code_wordcount" 
href="#tutorial_code_wordcount">Writing a th
     </p>
 
     <pre class="brush: java;">
-        counts.toStream().to("streams-wordcount-output", 
Produced.with(Serdes.String(), Serdes.Long());
+        counts.toStream().to("streams-wordcount-output", 
Produced.with(Serdes.String(), Serdes.Long()));
     </pre>
 
     <p>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> WordCount example code error
> ----------------------------
>
>                 Key: KAFKA-6472
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6472
>             Project: Kafka
>          Issue Type: Bug
>          Components: documentation, streams
>    Affects Versions: 0.11.0.2
>            Reporter: JONYhao
>            Assignee: Joel Hamill
>            Priority: Trivial
>              Labels: newbie
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> This is a "(" missed in the WordCount example tutorial
> [https://kafka.apache.org/10/documentation/streams/tutorial]
> at the end of the page ,line 31
> 31   {{.to(}}{{"streams-wordcount-output"}}{{, Produced.with(Serdes.String(), 
> Serdes.Long());}}
> {{should be }}
> {{31 }}{{.to(}}{{"streams-wordcount-output"}}{{, 
> Produced.with(Serdes.String(), Serdes.Long()));}}{{}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to