Closed longshorej closed 7 years ago
Wow, I've never read anywhere that we have to explicitly shutdown a materialiser... how did you arrive at this solution?
Ah ha - so here's why it is important to shutdown the materialiser - https://github.com/akka/akka/issues/17765
The reason that the materialiser has a system parent is because the streams can live post the process actor stopping. The changes here circumvent having a system actor in the first place. Perhaps we want to shutdown the materialiser on some timeout... or even share a materialiser?
As the title says, this configures
com.zaxxer.nuprocess.threads
and also ensures we're shutting down the materializers we created when we're done.