You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Priya Ganesan <ch...@hotmail.com> on 2014/01/21 11:58:27 UTC
LIFE CYCLE OF TOPOLOGY IN STORM
Hi All,
We have successfully run topology in storm. But we want to know the life time of a particular topology in storm. After running one topology should we want to kill that particular topology and then we want to run another topology?? we have this confusion. Please resolve us.
Re: LIFE CYCLE OF TOPOLOGY IN STORM
Posted by Richards Peter <hb...@gmail.com>.
A storm topology would continue to run till you kill it. Storm topology is
meant to do continuous computation. The main advantage that you have here
is that your worker jvms are already spawned to execute the task assigned
to them. You need not spawn jvms for the new set of input.
If you want to run another topology you can start it without any problem.
There are two basic things to notice:
1. Each topology should have unique name.
2. Supervisors should have enough slots to handle the workers spawned by
all the topologies.
Richards Peter.