Posted On: Feb 22, 2018
There are three components that are used to streamflow of data.
|1. Bolt||2. Spout||3.Tuple|
|In a storm, the processing logic unit is represented by the bolt.||In a storm, the source of the data is represented by the spout.||In a storm, a tuple is the major data structure.|
|Bolt is used for doing all types of processing which includes filtering and interaction to the data. Bolts also have the duty of acknowledging the processing done by tuples.||The spout is used for reading data through the data sources. Broadly, spouts are classified into two categories. These are called Reliable and Unreliable.||Tuples are helpful with its helper methods which help in getting field values without the need for casting the result.|
Never Miss an Articles from us.