Yelp / pyleus

Pyleus is a Python framework for developing and launching Storm topologies.
Apache License 2.0
404 stars 113 forks source link

Is it possible that one bolt kills the topology? #162

Open arnolddeng85 opened 8 years ago

arnolddeng85 commented 8 years ago

I plan to kill the topology if one bolt detects some errors at running time. I find the following command line is used to kill the topology and there is not python method:

pyleus kill -n {NIMBUS_HOST}  -w {WAIT_TIME}   {TOPOLOGY_NAME}

So is it fine to call a shell script from python code to kill the topology?

westover commented 8 years ago

Topologies run in storm local mode do die if a single bolt fails. I haven't tested this on a remote host but do believe it doesn't die from that condition.

And this is just a wrapper for the methods built into the storm executable.