Repository: storm Updated Branches: refs/heads/master 6bca7a949 -> 4d7099f3c
Added in better docs for local mode testing. Project: http://git-wip-us.apache.org/repos/asf/storm/repo Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/46fe41e4 Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/46fe41e4 Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/46fe41e4 Branch: refs/heads/master Commit: 46fe41e418ce06f507488c2debb3b04033273006 Parents: ce984cd Author: Robert (Bobby) Evans <ev...@yahoo-inc.com> Authored: Mon Oct 22 10:57:49 2018 -0500 Committer: Robert (Bobby) Evans <ev...@yahoo-inc.com> Committed: Mon Oct 22 10:57:49 2018 -0500 ---------------------------------------------------------------------- docs/Local-mode.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/storm/blob/46fe41e4/docs/Local-mode.md ---------------------------------------------------------------------- diff --git a/docs/Local-mode.md b/docs/Local-mode.md index 199d690..31afcc3 100644 --- a/docs/Local-mode.md +++ b/docs/Local-mode.md @@ -7,7 +7,9 @@ Local mode simulates a Storm cluster in process and is useful for developing and To run a topology in local mode you have two options. The most common option is to run your topology with `storm local` instead of `storm jar` -This will bring up a local simulated cluster and force all interactions with nimbus to go through the simulated cluster instead of going to a separate process. +This will bring up a local simulated cluster and force all interactions with nimbus to go through the simulated cluster instead of going to a separate process. By default this will run the process for 20 seconds before tearing down the entire cluster. You can override this by including a `--local-ttl` command line option which sets the number of seconds it should run for. + +### Programatic If you want to do some automated testing but without actually launching a storm cluster you can use the same classes internally that `storm local` does.