Top "Dstream" questions

Discretized Streams (D-Stream) is an approach that handles streaming computations as a series of deterministic batch computations on small time intervals.

For each RDD in a DStream how do I convert this to an array or some other typical Java data type?

I would like to convert a DStream into an array, list, etc. so I can then translate it to json …

scala apache-spark spark-streaming dstream