Hi Soni,
I think you need to start the JavaStreamingContext. Add something like this
at the end of your program :
jssc.start();
jssc.awaitTermination(6);
jssc.stop();
- Yogesh
On Thu, Nov 19, 2015 at 12:34 PM, Soni spark
wrote:
> Dear Friends,
>
> I am struggling with spark twitter stream
Dear Friends,
I am struggling with spark twitter streaming. I am not getting any data.
Please correct below code if you found any mistakes.
import org.apache.spark.*;
import org.apache.spark.api.java.
function.*;
import org.apache.spark.streaming.*;
import org.apache.spark.streaming.api.java.*;
i