Re: [akka-user] [stream] Best way to gracefully shut down a stream?

2015-09-30 Thread tigerfoot
Thanks, Endre! I'm referring to the outside case, and thanks for the issue link...I'll watch it. If I want to shut down a server node that's running (for example) a FlowGraph, it'd be great to be able to send somethng a message that causes the Source to stop pulling new input and then a callb

Re: [akka-user] [stream] Best way to gracefully shut down a stream?

2015-09-30 Thread Akka Team
Hi Greg, I have a stream (FlowGraph) that I want to gracefully stop, meaning I want > to stop accepting new input from the Source, > Do you mean you want to stop the stream from the outside? There is no built-in support for that, it is not trivial to implement either. I opened a ticket for this u

[akka-user] [stream] Best way to gracefully shut down a stream?

2015-09-28 Thread tigerfoot
I have a stream (FlowGraph) that I want to gracefully stop, meaning I want to stop accepting new input from the Source, wait until I'm sure everything going through the pipe has either reached the Sink or other otherwise disposed (i.e. Error), then shut everything down. Is there a best-practice