Let's understand a few key concepts relating to real-time streaming applications in the following sections.
Real-time streaming concepts
Data stream
The data stream is a continuous flow of data from one end to another end, from sender to receiver, from producer to consumer. The speed and volume of the data may vary; it may be 1 GB of data per second or it may be 1 KB of data per second or per minute.
Batch processing versus real-time data processing
In batch processing, data is collected in batches and each batch is sent for processing. The batch interval can be anything...