pyspark.streaming.DStream.pprint

DStream.pprint(num=10)[source]

Print the first num elements of each RDD generated in this DStream.

Parameters
numint, optional

the number of elements from the first will be printed.