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 sample project.
Last Article: Typical Scenario Description
Next Article: Example Code Description
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.