Development Idea
Function Decomposition
The procedure for a user to develop an application to calculate the number of times that each word appears in random text is as Table 1:
No. |
Procedure |
Code Sample |
---|---|---|
1 |
Create a Spout to generate random text. |
For details, see Creating a Spout. |
2 |
Create a Bolt to split the random text into words. |
For details, see Creating a Bolt. |
3 |
Create a Blot to calculate the number of times that each word appears. |
For details, see Creating a Bolt. |
4 |
Create a Topology. |
For details, see Creating a Topology. |
For details about certain code, see Code Samples. For details about complete code, see the storm-examples project.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.