Thank you very much. I will do this. On Thursday, September 10, 2015 at 4:18:28 AM UTC-4, Akka Team wrote: > > Hi David, > > Another option is to create a separate Materializer for instances of the > old stream. Creating a materializer per Flow is usually not recommended, > but in your case your Flow is long living, so there is not much cost. When > you want to upgrade, you just call the shutdown() method on the > materializer and then it will make sure that everything is stopped there. > Then you create a new materializer and start running the new version of the > Flow. > > -Endre > > On Wed, Sep 9, 2015 at 10:46 PM, David Daniel <[email protected] > <javascript:>> wrote: > >> I found this link >> http://stackoverflow.com/questions/31378978/how-to-properly-stop-akka-streams-from-the-outside >> >> and the person is doing something similar to what I am looking for but I >> wanted to verify that this was indeed the best approach to stopping a >> running stream. In my situation I am using OSGI and sources/sinks can be >> added through plugins. Whenever a new plugin is added to or removed from >> the application then I would like to kill the old flow and create a new >> flow that will run forever or until the plugins change. Is the suggestion >> in the link above the best approach to take. >> >> Thanks for any help, >> David Daniel >> >> -- >> >>>>>>>>>> Read the docs: http://akka.io/docs/ >> >>>>>>>>>> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user >> --- >> You received this message because you are subscribed to the Google Groups >> "Akka User List" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Akka Team > Typesafe - Reactive apps on the JVM > Blog: letitcrash.com > Twitter: @akkateam >
-- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
