Right, but it's an interesting thought to have a Processor backed by a user > defined actor. Might even work today with: > MyProcessor extends ActorProducer with ActorConsumer > ? >
To be honest, this is a very scary thought :) I am not sure we can make that user-friendly, there are a huge amount of pitfalls that would break stream semantics. The Transformer covers a fairly large subset of the use-cases and I think that should be the go-to element if you want something more general than the usual combinators. -Endre > > /Patrik > >> >> -Endre >> >> >> On Wed, Jun 18, 2014 at 8:46 AM, Wofr <[email protected]> >> wrote: >> >>> Hi! >>> >>> I just played a little with the new 0.3 release of akka-stream and I was >>> wondering if it would be possible in the future to chain ActorProducers and >>> ActorCustomers. >>> >>> So far I was able to connect a producer with a consumer like this >>> >>> ActorProducer[Int](source).produceTo(ActorConsumer[Int](destination)) >>> >>> but I failed to build a kind of chain of Producers and Consumers >>> >>> >>> >>> ActorProducer[Int](source).produceTo(ActorConsumer[Int](sourceAndDestination)).produceTo(ActorConsumer[Int](destination)) >>> >>> Do you thinking of supporting such chains? ..or maybe you already do and >>> I didn't get it. >>> >>> Regards >>> >>> Wolfgang >>> >>> -- >>> >>>>>>>>>> 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. >>> >> >> >> >> -- >> Akka Team >> Typesafe - The software stack for applications that scale >> 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. >> > > > > -- > > Patrik Nordwall > Typesafe <http://typesafe.com/> - Reactive apps on the JVM > Twitter: @patriknw > > <http://www.scaladays.org/> > > -- > >>>>>>>>>> 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. > -- Akka Team Typesafe - The software stack for applications that scale 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.
