The advantage of running a storm under surveillance, sample / code sample

I set the storm correctly. But I'm afraid how to run an example in a storm. Can someone please give me a link or suggestion with which I can give an example?
Also, what are the benefits of a supervised storm?

+4
source share
1 answer

Assuming you installed a storm on your local computer, you have an example of a storm project linked along it, which you can find in the examples / storm start of your storm repository.

To run this example, you can follow the sequence of steps mentioned in the README.markdown file in the root folder of the storm starter folder. Stages can also be found at https://github.com/apache/storm/tree/v0.10.0/examples/storm-starter

As for the storm and under surveillance, the advantage is that since Storm and zookeeper have a fast-fail policy, the servers will be disconnected if an error occurs. Using a supervisor process can call servers if the process exits due to errors.

0
source

Source: https://habr.com/ru/post/1490887/


All Articles