Create a TestableStreamingContext using an existing SparkContext.
Create a TestableStreamingContext using an existing SparkContext.
existing SparkContext
the time interval at which streaming data will be divided into batches
(Since version ) see corresponding Javadoc for more information.
Extend the StreamingContext so we can be a little evil and poke at its internals.