[SPARK-1341] [Streaming] Throttle BlockGenerator to limit rate of data consumption.