kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject kafka git commit: KAFKA-6025: small fix for streams tutorial
Date Tue, 10 Oct 2017 22:08:05 GMT
Repository: kafka
Updated Branches:
  refs/heads/1.0 e671c1cd3 -> 85f6f8cbb


KAFKA-6025: small fix for streams tutorial

Author: Bill Bejeck <bill@confluent.io>

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #4053 from bbejeck/KAFKA_6025_fix_streams_tutorial

(cherry picked from commit dac990aab31ab13ed08a6818e1516f4dd25331dd)
Signed-off-by: Guozhang Wang <wangguoz@gmail.com>


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

Branch: refs/heads/1.0
Commit: 85f6f8cbb353a7c6ec8606b088b1f35dfcf1f6ea
Parents: e671c1c
Author: Bill Bejeck <bill@confluent.io>
Authored: Tue Oct 10 15:07:53 2017 -0700
Committer: Guozhang Wang <wangguoz@gmail.com>
Committed: Tue Oct 10 15:08:02 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/kafka/blob/85f6f8cb/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+"));


Mime
View raw message