Thanks Konrad. Well, I kinda get the "level of abstraction" but what about a cluster node failure running my Akka streams stages? How would you cope with it? Now, Is my only option to use Kafka and some kind of partition and offset syncing? Please elaborate on that!
Are you suggesting that event sourcing and reactive streams are not really to be "compatible"? How do people solve it (resiliency and scalability) in real production systems? Could you share some recipes? -> Konrad Malawski writes: > In terms of level of abstraction Akka Streams are "like Iterator" ;-) > They're not as high level as you might expect them to be it seems to me. > They're a building block, using which, and Sink/Source to Actors you can > integrate the two. > The root cause of the rift there is that Actor semantics do not express > back-pressure directly, > so if you want to rely back-pressure (the core concept of Akka Streams) you > need to put > in more work on that boundary anyway – the Actor must speak the > One should also note that Akka Persistence is specifically designed for > _event sourcing_. > It's not like your Akka app must use Akka Persistence – for example using a > Kafka Sink or other database Sink is perfectly acceptable too. > If you know you need event-sourcing, then Akka Persistence fits very well, > and yeah – you'd connect there via actor refs. > -- > Konrad `ktoso` Malawski > Akka @ Lightbend cheers -- -rafal "The noblest pleasure is the joy of understanding." --- Leonardo da Vinci -- >>>>>>>>>> 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 https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
