When the input never ends: brokers, logs, change data capture, windows and joins over events in motion.
Batch jobs assume a bounded input, but real data keeps arriving: clicks, payments, sensor readings. Waiting a day to process it is often too slow.
A stream is a sequence of events — small, immutable records of something that happened, with a timestamp. A producer publishes them; consumers process them. Having every consumer poll a database for news is expensive, so we want push notifications.
Reach the last step for the post-mortem: five takeaways from this chapter.