@asm0dey So in the latest version of the notebook API, support was added for onInterrupt. Combined with catching the right exception we can now catch interrupts and make sure the spark context is stopped. It is maybe not perfect but a whole lot better than before. Now users no longer have to restart the jupyter kernel if they want to run something streaming-like again after they interrupted the kernel to stop a stream.
@asm0dey So in the latest version of the notebook API, support was added for onInterrupt. Combined with catching the right exception we can now catch interrupts and make sure the spark context is stopped. It is maybe not perfect but a whole lot better than before. Now users no longer have to restart the jupyter kernel if they want to run something streaming-like again after they interrupted the kernel to stop a stream.