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().
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
Post a Comment