This is an automated email from the ASF dual-hosted git repository.

jonwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git


The following commit(s) were added to refs/heads/master by this push:
     new f12ffd1  Add Kafka reset instructions for tutorial (#6362)
f12ffd1 is described below

commit f12ffd19a860a714fdc0a6f173ec8aea5dc44ddd
Author: Jonathan Wei <[email protected]>
AuthorDate: Fri Sep 21 14:18:31 2018 -0700

    Add Kafka reset instructions for tutorial (#6362)
---
 docs/content/tutorials/index.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/docs/content/tutorials/index.md b/docs/content/tutorials/index.md
index a7a6769..bd16066 100644
--- a/docs/content/tutorials/index.md
+++ b/docs/content/tutorials/index.md
@@ -87,10 +87,22 @@ All persistent state such as the cluster metadata store and 
segments for the ser
 
 Later on, if you'd like to stop the services, CTRL-C to exit the 
`bin/supervise` script, which will terminate the Druid processes. 
 
+### Resetting cluster state
+
 If you want a clean start after stopping the services, delete the `var` 
directory and run the `bin/supervise` script again.
 
 Once every service has started, you are now ready to load data.
 
+#### Resetting Kafka
+
+If you completed [Tutorial: Loading stream data from 
Kafka](./tutorial-kafka.html) and wish to reset the cluster state, you should 
additionally clear out any Kafka state.
+
+Shut down the Kafka broker with CTRL-C before stopping Zookeeper and the Druid 
services, and then delete the Kafka log directory at `/tmp/kafka-logs`:
+
+```bash
+rm -rf /tmp/kafka-logs
+```
+
 ## Loading Data
 
 ### Tutorial Dataset


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to