You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ew...@apache.org on 2017/07/21 05:06:51 UTC

kafka git commit: MINOR: Make Kafka Connect step in quickstart more Windows friendly

Repository: kafka
Updated Branches:
  refs/heads/trunk ad6c53d89 -> beb0ad9bb


MINOR: Make Kafka Connect step in quickstart more Windows friendly

Author: Vahid Hashemian <va...@us.ibm.com>

Reviewers: Ewen Cheslack-Postava <ew...@confluent.io>

Closes #2498 from vahidhashemian/doc/connect_quickstart_update


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

Branch: refs/heads/trunk
Commit: beb0ad9bbb36a642f5fe4a01d92949ba79299edf
Parents: ad6c53d
Author: Vahid Hashemian <va...@us.ibm.com>
Authored: Thu Jul 20 22:06:46 2017 -0700
Committer: Ewen Cheslack-Postava <me...@ewencp.org>
Committed: Thu Jul 20 22:06:46 2017 -0700

----------------------------------------------------------------------
 docs/quickstart.html | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/beb0ad9b/docs/quickstart.html
----------------------------------------------------------------------
diff --git a/docs/quickstart.html b/docs/quickstart.html
index c50df29..9b0720f 100644
--- a/docs/quickstart.html
+++ b/docs/quickstart.html
@@ -224,6 +224,11 @@ Kafka topic to a file.</p>
 <pre class="brush: bash;">
 &gt; echo -e "foo\nbar" > test.txt
 </pre>
+Or on Windows:
+<pre class="brush: bash;">
+&gt; echo foo> test.txt
+&gt; echo bar>> test.txt
+</pre>
 
 <p>Next, we'll start two connectors running in <i>standalone</i> mode, which means they run in a single, local, dedicated
 process. We provide three configuration files as parameters. The first is always the configuration for the Kafka Connect
@@ -251,7 +256,7 @@ by examining the contents of the output file:
 
 
 <pre class="brush: bash;">
-&gt; cat test.sink.txt
+&gt; more test.sink.txt
 foo
 bar
 </pre>
@@ -272,7 +277,7 @@ data in the topic (or use custom consumer code to process it):
 <p>The connectors continue to process data, so we can add data to the file and see it move through the pipeline:</p>
 
 <pre class="brush: bash;">
-&gt; echo "Another line" >> test.txt
+&gt; echo Another line>> test.txt
 </pre>
 
 <p>You should see the line appear in the console consumer output and in the sink file.</p>