
his is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new.
Today Question:
Which library is used for stream processing in Spark?
A) SparkSQL
B) SparkStreaming
C) MLlib
D) GraphX
Correct Answer: B
Explanation
Spark Streaming is the Apache Spark library for real-time stream processing. It supports data streams from Kafka, Flume, sockets, and other sources, and provides APIs through DStreams or Structured Streaming with DataFrames. It enables operations such as map, reduce, join, and windowing and allows combining batch and stream processing in one pipeline.
