pyspark.streaming.DStream.pprint

DStream.pprint(num: int = 10) → None

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.