ForEachDStream is an internal DStream with dependency on the
parent stream with the exact same
compute method returns no RDD.
generateJob is called, it returns a streaming job for a batch when
parent stream does. And if so, it uses the "foreach" function (given as
foreachFunc) to work on the RDDs generated.