pyspark.streaming.StreamingContext.addStreamingListener

StreamingContext.addStreamingListener(streamingListener: pyspark.streaming.listener.StreamingListener) → None[source]

Add a [[org.apache.spark.streaming.scheduler.StreamingListener]] object for receiving system events related to streaming.