spark.streaming.dstream.NetworkReceiver.BlockGenerator
(Since version 2.8.0) use productIterator instead