What is Spark Streaming?
Spark Streaming is useful for very specific tasks. If you have a continual stream of data that needs constant analysis, then Spark Streaming is for you. A common example of using it is if you have a fleet of web servers running and you need to process log data coming into it continuously. Who knows what you want to do, maybe you want to keep track of the most frequent occurrences, or keep an eye out for a certain kind of error; Spark Streaming can do that. The way it works is that, at some given interval that you define, it will aggregate the data that's coming in and analyze it however you say. So you can reduce things or map things for example, at some given time frame after a certain batch of data has been taken ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access