The different options of the Storm topology
This section covers the following operations that a user can perform on the Storm cluster:
- Deactivate
- Activate
- Rebalance
- Kill
- Dynamic log level settings
Deactivate
Storm supports the deactivating a topology. In the deactivated state, spouts will not emit any new tuples into the pipeline, but the processing of the already emitted tuples will continue. The following is the command to deactivate the running topology:
$> bin/storm deactivate topologyName
Deactivate SampleStormClusterTopology
using the following command:
bin/storm deactivate SampleStormClusterTopology
The following information is displayed:
0 [main] INFO backtype.storm.thrift - Connecting to Nimbus at localhost:6627 76 [main] INFO backtype.storm.command.deactivate - Deactivated topology: SampleStormClusterTopology
Activate
Storm also the supports activating a topology. When a topology is activated, spouts will again start emitting tuples. The following is the command to activate the topology:
...