As I understood if wanted a smooth shutdown, it's recommend to throw exception, and then cancel() is called, where you can even write your own. Don't think it's the same as System.exit()
Cheers, Sendoh -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/