What's the meaning of DStream.foreachRDD function?
<p>In spark streaming, every batch interval of data always generate one and only one RDD, why do we use <code>foreachRDD()</code> to foreach RDD? RDD is only one, needn't foreach.
In my testing, I never see RDD more than one.</p>