Discretized Streams (D-Stream) is an approach that handles streaming computations as a series of deterministic batch computations on small time intervals.
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