First of all, I'm pretty new to Akka and actor model, so maybe I'm doing everything wrong.
I have an input actor, which gets data from stream source and passes them on to child processor actors, which have some internal state. Input actor may crash if its connection dies, which triggers its restart. The problem is that in addition that triggers a restart of its children, which makes them lose their state. I don't want that, as the input stream might recover and their state will become relevant again. Also, processors are spawned in reaction to some data in the input, so I don't see a way of creating them outside the input actor.
In other words, the question is "how do I restart only input of actor pipeline without restarting further stages"?