https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#reporting-metrics-programmatically-using-asynchronous-apis

On Tue, Sep 3, 2019, 3:26 PM Natalie Ruiz <Natalie.Ruiz@microsoft.com.invalid> wrote:

Hello all,

 

I’m a beginner, new to Spark and wanted to know if there was an equivalent to Spark Streaming’s StreamingListenerBatchCompleted in Structured Streaming? I want to add a listener for when a batch is complete but the documentation and examples I find are for Spark Streaming and not Structured Streaming and registering it to a StreamingContext, which from my understanding is just for Spark Streaming

 

Thanks!