Skip to content

Commit

Permalink
Fix clickstream instructions (#1131)
Browse files Browse the repository at this point in the history
Fix some issues with the clickstream instructions. From 4.1 onwards
ksql is included with cp, so we don't need a separate step for
starting up the ksql server. We also just need to run 'ksql' to
start the cli.

This patch also removes references to the local quickstart, which
has not been working for the last couple releases.
  • Loading branch information
rodesai authored and apurvam committed Apr 13, 2018
1 parent 8389e3a commit 12497f6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 357 deletions.
6 changes: 0 additions & 6 deletions docs/tutorials/basics-local.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,3 @@ command.
$ <path-to-confluent>/bin/confluent stop
----------
Next steps
----------

Try the end-to-end :ref:`Clickstream Analysis demo <ksql_clickstream-local>`, which shows how to build an application that
performs real-time user analytics.
19 changes: 7 additions & 12 deletions docs/tutorials/clickstream-docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ Configure and Start Elastic, Grafana, and |cp|
kafka-rest is [UP]
Starting connect
connect is [UP]
Starting ksql-server
ksql-server is [UP]
---------------------------
Create the Clickstream Data
Expand Down Expand Up @@ -162,19 +164,11 @@ Create the Clickstream Data
Load the Streaming Data to KSQL
-------------------------------

#. Launch the KSQL CLI in Client Server Mode.

1. Start the KSQL server.

.. code:: bash
$ ksql-server-start /etc/ksql/ksql-server.properties > /tmp/ksql-server.log 2>&1 &
2. Start the CLI and point it to the server.
#. Launch the KSQL CLI

.. code:: bash
$ ksql http://localhost:8088
$ ksql
You should now be in the KSQL CLI.

Expand All @@ -197,8 +191,9 @@ Load the Streaming Data to KSQL
.. code:: bash
Message
------------------------------------
Executing statement
---------
---------
Verify the data
---------------
Expand Down
337 changes: 0 additions & 337 deletions docs/tutorials/clickstream-local.rst

This file was deleted.

Loading

0 comments on commit 12497f6

Please sign in to comment.