The basic steps for Spark Streaming Code ?

Initialize a Spark Streamingcontext Object
Appaly Transformations and ouput operations to Dstreams
Start reciving data and processing it using streamingContext.start()
Wait for the processing to be stopped using streamingContext.awaitTermination().

Comments

Popular posts from this blog

What is Accumulator in Spark ?

Why Scala for Spark ?

What is SparkContext in Apache Spark?