How do I run multiple storm topology on the same instance?

I am studying the storm. I have doubts about the number of topologies we can run concurrently on Apache Storm. I presented two topologies in a storm cluster, but at that time only one topology runs.I need to kill or deactivate an already existing topology to run any new topology.

I am using Storm 0.9.4

Zookeeper 3.4.6

Kafka 2.10-0.8.2.1

I am running one instance of storm halo, supervisor and ui.

Do I need to run multiple instances of each?

What do I need to do to run multiple topologies at the same time?

I am attaching a screenshot of my storm ui.

Storm UI

+3


source to share


1 answer


I only used 2 supervisor.slots.ports (in storm.yaml). And setNumWorkers () in my topology config was also listed as 2.Hence, the topology that was started first occupied both slots. Now I have installed 5 supervisor.slots.ports and everything works fine. I can run multiple topologies at a time.



+5


source







All Articles