Hi Chanan, Can't you have the two views A and B forward the messages to a third aggregating actor?
Regards, Patrik On Fri, Apr 11, 2014 at 12:51 PM, Chanan Braunstein < [email protected]> wrote: > Hello, > > We are trying to evaluate using Akka persistence to use going forward in > our new platform. It seems to us that views could be a very powerful way to > do some of the things we need to do but it can only act on one stream of > events. An interesting feature, I think, would be to have a view return a > list of processors that it is interested in getting events of. For example, > the classic bank account example: > > Account A -> Processor > View A -> Daily Balance (Note: Daily balance is not the same as current > state as events aren't applied the same way) > > Account B -> Processor > View B -> Daily Balance > > View A & B -> A sum of the daily balance of all accounts > > True, in this simple example, View A & B can easily be done without the > combined view, but of course, more complex (and powerful) ideas are out > there. Also, it doesn't have to be limited to the same kind of processor. > > Chanan > > -- > >>>>>>>>>> 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 JOIN US. REGISTER TODAY! <http://www.scaladays.org/> Scala <http://www.scaladays.org/> Days <http://www.scaladays.org/> June 16th-18th, <http://www.scaladays.org/> Berlin <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.
