- Practical Real-time Data Processing and Analytics
- Shilpi Saxena Saurabh Gupta
- 197字
- 2021-07-08 10:23:16
Stream grouping
The following are different types of grouping available with Storm:

- Shuffle grouping: Shuffle grouping distributes tuples equally across the tasks. An equal number of tuples are received by all tasks.
- Field grouping: In this grouping, tuples are sent to the same bolt based on one or more fields, for example, in Twitter if we want to send all tweets from the same tweet to the same bolt then we can use this grouping.
- All grouping: All tuples are sent to all bolts. Filtering is one operation where we need all grouping.
- Global grouping: All tuples send a single bolt. Reduce is one operation where we need global grouping.
- Direct grouping: The producer of the tuple decides which of the consumer's task will receive the tuple. This is possible for only streams that are declared as direct streams.
- Local or shuffle grouping: If the source and target bolt are running in the same worker process then it is local grouping, as no network hops are required to send the data across the network. If this is not the case, then it is the same as shuffle grouping.
- Custom grouping: You can define your own custom grouping.
推薦閱讀
- 大話PLC(輕松動漫版)
- 解構產品經理:互聯網產品策劃入門寶典
- Python自然語言處理實戰:核心技術與算法
- Learn to Create WordPress Themes by Building 5 Projects
- HTML5+CSS3基礎開發教程(第2版)
- Python程序設計案例教程
- Oracle BAM 11gR1 Handbook
- 手把手教你學C語言
- PHP+MySQL網站開發項目式教程
- 基于Struts、Hibernate、Spring架構的Web應用開發
- 常用工具軟件立體化教程(微課版)
- ASP.NET開發與應用教程
- Node Cookbook(Second Edition)
- Android移動開發案例教程:基于Android Studio開發環境
- Python Interviews