This function will take the provided SparkContext and optional duration parameters and return a StreamingContext.
This function will take the provided SparkContext and optional duration parameters and return a StreamingContext.
The SparkContext to use when creating the streaming context.
The length of the duration.
A StreamingContext
This function will take the provided SparkContext and optional duration parameters and return a StreamingContext.
This function will take the provided SparkContext and optional duration parameters and return a StreamingContext.
The SparkContext to use when creating the streaming context.
The type of duration, minutes or seconds.
The length of the duration.
A StreamingContext