Hi John, in your setup the two flows between the broadcast and the zip must always be perfectly balanced, if one of them may lose elements then eventually the whole graph will get stuck. Either you make sure that failure does not happen (and when it does you don’t restart but kill the whole stream because you know that it will be broken and needs to be recreated) or you make up elements on demand, e.g. using the expand() combinator. The second possibility leads to non-deterministic behavior, though: it is not predetermined which element will be expanded exactly.
A buffer does not help in this scenario. The difference in the “balancing buffer” blog post is that elements are distributed dynamically to the branches whereas here you want to always feed every input into all branches. Regards, Roland > 18 mar 2016 kl. 06:29 skrev john.vie...@gmail.com: > > I tried inserting a buffer but ist still doesn't work. Any other ideas? > > Am Donnerstag, 17. März 2016 18:58:33 UTC+1 schrieb john....@gmail.com: > I guess that I am suffering from deadlock? this post semms to apply to my > problem > http://blog.lancearlaus.com/akka/streams/scala/2015/05/27/Akka-Streams-Balancing-Buffer/ > > <http://blog.lancearlaus.com/akka/streams/scala/2015/05/27/Akka-Streams-Balancing-Buffer/> > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/> > >>>>>>>>>> Check the FAQ: > >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html> > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > >>>>>>>>>> <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 akka-user+unsubscr...@googlegroups.com > <mailto:akka-user+unsubscr...@googlegroups.com>. > To post to this group, send email to akka-user@googlegroups.com > <mailto:akka-user@googlegroups.com>. > Visit this group at https://groups.google.com/group/akka-user > <https://groups.google.com/group/akka-user>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. Dr. Roland Kuhn Akka Tech Lead Typesafe <http://typesafe.com/> – Reactive apps on the JVM. twitter: @rolandkuhn <http://twitter.com/#!/rolandkuhn> -- >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.