Skip to content

Commit

Permalink
Jim's review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Victoria Bialas <vicky@confluent.io>
  • Loading branch information
londoncalling committed Apr 30, 2020
1 parent ccb8557 commit 5292d68
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ Ready now? Let's start!

cd kafka-streams-examples/

#. Switch to the `|release|-post` branch
#. Switch to the ``|release|-post`` branch

::
.. codewithvars:: bash

git checkout |release|-post

Expand Down Expand Up @@ -117,6 +117,7 @@ You should see output similar to following, though here the output is pretty-pri
You should see output similar to following, though here the output is pretty-printed so that it's easier to read:

::
[
{
"artist": "Jello Biafra And The Guantanamo School Of Medicine",
Expand Down Expand Up @@ -159,11 +160,12 @@ This means you can easily run any of these applications from inside the containe

Example: Launch the WordCount demo application (inside the `kafka-music-application` container):

::
$ docker-compose exec kafka-music-application \
java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-|release|-standalone.jar \
io.confluent.examples.streams.WordCountLambdaExample \
kafka:29092
.. codewithvars:: bash

docker-compose exec kafka-music-application \
java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-|release|-standalone.jar \
io.confluent.examples.streams.WordCountLambdaExample \
kafka:29092

Of course you can also modify the tutorial's ``docker-compose.yml`` for repeatable deployments.

Expand Down Expand Up @@ -205,7 +207,7 @@ Inspect the "play-events" input topic, which contains messages in Avro format:

Use the kafka-avro-console-consumer to read the "play-events" topic:

::
.. codewithvars:: bash

$ docker-compose exec schema-registry \
kafka-avro-console-consumer \
Expand All @@ -222,7 +224,8 @@ Use the kafka-avro-console-consumer to read the "play-events" topic:

Inspect the "song-feed" input topic, which contains messages in Avro format:

::
.. codewithvars:: bash

# Use the kafka-avro-console-consumer to read the "song-feed" topic
$ docker-compose exec schema-registry \
kafka-avro-console-consumer \
Expand Down

0 comments on commit 5292d68

Please sign in to comment.