The following are components of Storm:
- Tuple: This is the basic data structure of Storm. It can hold multiple values and the data types of each value can be different. Storm serializes the primitive types of values by default but if you have any custom class then you must provide serializer and register it in Storm. A tuple provides very useful methods such as getInteger, getString and getLong so that the user does not need to cast the value in a tuple.
- Topology: As mentioned earlier, topology is the highest level of abstraction. It contains the flow of processing including spouts and bolts. It is a kind of graph computation. Each flow is represented in the form of a graph. So, nodes are spouts or bouts and edges are a stream ...