You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gu...@apache.org on 2017/10/10 22:07:57 UTC

kafka git commit: KAFKA-6025: small fix for streams tutorial

Repository: kafka
Updated Branches:
  refs/heads/trunk 1027ff3c7 -> dac990aab


KAFKA-6025: small fix for streams tutorial

Author: Bill Bejeck <bi...@confluent.io>

Reviewers: Guozhang Wang <wa...@gmail.com>

Closes #4053 from bbejeck/KAFKA_6025_fix_streams_tutorial


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/dac990aa
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/dac990aa
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/dac990aa

Branch: refs/heads/trunk
Commit: dac990aab31ab13ed08a6818e1516f4dd25331dd
Parents: 1027ff3
Author: Bill Bejeck <bi...@confluent.io>
Authored: Tue Oct 10 15:07:53 2017 -0700
Committer: Guozhang Wang <wa...@gmail.com>
Committed: Tue Oct 10 15:07:53 2017 -0700

----------------------------------------------------------------------
 docs/streams/tutorial.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/dac990aa/docs/streams/tutorial.html
----------------------------------------------------------------------
diff --git a/docs/streams/tutorial.html b/docs/streams/tutorial.html
index b93ba6f..ec41a93 100644
--- a/docs/streams/tutorial.html
+++ b/docs/streams/tutorial.html
@@ -337,7 +337,7 @@
 
     <pre class="brush: java;">
         KStream&lt;String, String&gt; source = builder.stream("streams-plaintext-input");
-        KStream&lt;String, String&gt; words = builder.flatMapValues(new ValueMapper&lt;String, Iterable&lt;String&gt;&gt;() {
+        KStream&lt;String, String&gt; words = source.flatMapValues(new ValueMapper&lt;String, Iterable&lt;String&gt;&gt;() {
                     @Override
                     public Iterable&lt;String&gt; apply(String value) {
                         return Arrays.asList(value.split("\\W+"));