O'Reilly logo

Building Python Real-Time Applications with Storm by Barry Hart, Kartik Bhatnagar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A physical view of a Storm cluster

The next figure explains the physical position of each process. There can be only one Nimbus. However, more than one Zookeeper is there to support failover, and per machine, there is one supervisor.

A physical view of a Storm cluster

Stream grouping

A stream grouping controls the flow of tuples between from spout to bolt or bolt to bolt. In Storm, we have four types of groupings. Shuffle and field grouping are most commonly used:

  • Shuffle grouping: Tuple flow between two random tasks in this grouping
  • Field grouping: A tuple with a particular field key is always delivered to the same task of the downstream bolt
  • All grouping: Sends the same tuple to all ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required