jon-wei closed pull request #6362: Add Kafka reset instructions for tutorial URL: https://github.com/apache/incubator-druid/pull/6362
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/docs/content/tutorials/index.md b/docs/content/tutorials/index.md index a7a6769f17d..bd16066c2fe 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 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org