Is it possible to pause and resume a streaming app?

I have a streaming app which reads events from kafka and post to some
external source. I want to pause the app when external source is down and
 resume it automatically when it comes back ?

Is it possible to pause the app and is it possible to pause only processing
part let receiver work and brong data in memory+disk, once external source
is up process whole data in one go.

Thanks
Shushant

Reply via email to