In Storm, tell us about the stream groups that are built-in?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Dec 09, 2019

 

Storms consist of 8 stream grouping that is built-in. These are :

  • Shuffle Grouping
  • Field Grouping
  • Partial Key Grouping
  • All Grouping
  • Global Grouping
  • None Grouping
  • Direct Grouping
  • Local Grouping
  • In Shuffle Grouping, the same quantity of tuples is distributed to every bolt in a random manner.
  • The stream is divided with the help of fields that are specified in the grouping, in Field Grouping.
  • Partial Grouping is similar to field grouping as the stream is divided with the help of the field that is specified in the grouping but is different in the sense that it gives resources that are better utilized.
  • All Grouping should be used carefully since the stream is duplicated across the task of all bolts.
  • Local Grouping is also known as Shuffle Grouping.
  • Direct Grouping is a different type of grouping than others. In this, it is decided by the producer that the task will be received by which task.
  • In Global Grouping, the complete stream goes to each of the tasks of bolts.
  • In None Grouping, the grouping of stream need not have cared.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Apache Storm Interview Questions

    What is Apache Storm?

    Apache Storm is a distributed real-time system of computation which is an open and free source. Apache storm is used for processing Big Data Analytics with being reliable. It is simple to use Storm. I...

    Apache Storm Interview Questions

    What are the benefits of Apache Storm?

    There are a bunch of benefits of using Apache Storm for real-time processing.First, it is very simple to operate Storm. Its standard configurations are helpful in deploying and using it easily. S...

    Apache Storm Interview Questions

    What are the types of Nodes in Apache Storm?

    Nodes are classified into two types, namely Master Node and the Worker Node. The master node is responsible for the execution of daemon nimbus. Its duty is to assign tasks to the machines and also of ...