mirror of https://github.com/apache/kafka.git
MINOR: Make Kafka Connect step in quickstart more Windows friendly
Author: Vahid Hashemian <vahidhashemian@us.ibm.com> Reviewers: Ewen Cheslack-Postava <ewen@confluent.io> Closes #2498 from vahidhashemian/doc/connect_quickstart_update
This commit is contained in:
parent
ad6c53d89e
commit
beb0ad9bbb
|
@ -224,6 +224,11 @@ Kafka topic to a file.</p>
|
||||||
<pre class="brush: bash;">
|
<pre class="brush: bash;">
|
||||||
> echo -e "foo\nbar" > test.txt
|
> echo -e "foo\nbar" > test.txt
|
||||||
</pre>
|
</pre>
|
||||||
|
Or on Windows:
|
||||||
|
<pre class="brush: bash;">
|
||||||
|
> echo foo> test.txt
|
||||||
|
> 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
|
<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
|
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;">
|
<pre class="brush: bash;">
|
||||||
> cat test.sink.txt
|
> more test.sink.txt
|
||||||
foo
|
foo
|
||||||
bar
|
bar
|
||||||
</pre>
|
</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>
|
<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;">
|
<pre class="brush: bash;">
|
||||||
> echo "Another line" >> test.txt
|
> echo Another line>> test.txt
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>You should see the line appear in the console consumer output and in the sink file.</p>
|
<p>You should see the line appear in the console consumer output and in the sink file.</p>
|
||||||
|
|
Loading…
Reference in New Issue