Typical Scenario Description
A typical scenario can help you quickly learn and master the Storm topology structure and Spout/Bolt development process.
Scenario Description
Service processing of a dynamic word counting system is described as follows. The data source is a logical unit that produces random text continuously.
- The data source continuously sends random text, such as "apple orange apple", to the text splitting logic.
- The word splitting logic splits each text entry sent by the data source by space, such as "apple", "orange", "apple", and then sends each word to the word counting logic.
- The word counting logic increases the number of times that a specific word occurs by one when receiving the word, and prints the real-time results. For example:
orange: 1
apple: 2
Last Article: Developing an Application
Next Article: Development Idea
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.