Understanding data streams
A data stream is the continuous flow of any type of data using any medium. Out of 4 Vs of big data, two are velocity and variety. A data stream refers to both velocity and variety of data. Data stream is real-time data coming from sources such as social media sites or different monitoring sensors installed in manufacturing units or vehicles. Another example of streaming data processing is IOT, that is the Internet Of Things, where data is coming from different components though the internet.
Real-time data stream processing
There are two different kinds of streaming data: bounded and unbounded streams, as shown in the following images. Bounded streams have a defined start and a defined end of the data stream. Data processing stops once the end of the stream is reached. Generally, this is called batch processing. An unbounded stream does not have an end and data processing starts from the beginning. This is called real-time processing, which keeps the states of events...