foreachRDD to pull average number of words & characters for each RDD in J8 Spark Streaming of Twitter API
I'm trying to get the average number of words and characters in each RDD I pull from the Twitter API using spark in Java 8. However, I'm having trouble using streams to achieve this. My code is as follows: //Create…