Here you go
http://stackoverflow.com/questions/20950268/how-to-stop-spark-streaming-context-when-the-network-connection-tcp-ip-is-clos

Thanks
Best Regards

On Thu, Dec 4, 2014 at 4:30 PM, Hafiz Mujadid <hafizmujadi...@gmail.com>
wrote:

> Hi!
>
> does anybody has some useful example of StreamingListener interface. When
> and how can we use this interface to stop streaming when one batch of data
> is processed?
>
> Thanks alot
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Example-usage-of-StreamingListener-tp20357.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
> For additional commands, e-mail: user-h...@spark.apache.org
>
>

Reply via email to