- Mastering Apache Storm
- Ankit Jain
- 125字
- 2021-07-02 20:32:27
Operation modes in Storm
Operation modes indicate how the topology is deployed in Storm. Storm supports two types of operation modes to execute the Storm topology:
- Local mode: In local mode, Storm topologies run on the local machine in a single JVM. This mode simulates a Storm cluster in a single JVM and is used for the testing and debugging of a topology.
- Remote mode: In remote mode, we will use the Storm client to submit the topology to the master along with all the necessary code required to execute the topology. Nimbus will then take care of distributing your code.
In the next chapter, we are going to cover both local and remote mode in more detail, along with a sample example.