What types of StreamGrouping are available in Storm?
There are several types of StreamGrouping in Storm.
- FieldsGrouping: Grouping based on specified fields.
- Shuffle grouping: randomly sending tuples to any one of the downstream tasks.
- AllGrouping: sends all tuples to all downstream tasks.
- GlobalGrouping: Send all tuples to one downstream task.
- No grouping: Send tuples downstream in the order they were received.
- DirectGrouping: Send tuples to the specified downstream task.
- If the downstream task is within the same worker process, it will be grouped according to ShuffleGrouping; otherwise, it will be grouped according to FieldsGrouping.