Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Event sourcing for Akka Streams #51

Open
krasserm opened this issue Jun 2, 2017 · 1 comment
Open

Event sourcing for Akka Streams #51

krasserm opened this issue Jun 2, 2017 · 1 comment
Labels

Comments

@krasserm
Copy link

krasserm commented Jun 2, 2017

I just published a proposal how to add event sourcing to Akka Streams. It proposes an EventSourcing graph stage that, when joined with an event log, is a stream-based equivalent to a PersistentActor but with type-safety and back-pressure for the whole event sourcing message flow. The proposal also implements a stream API on top of Akka Persistence journals and Apache Kafka to define a public interface for event logs.

Please note that this proposal is not a complete specification but rather illustrates some initial ideas and verifies them with a prototype implementation. In its current state, it should mainly serve as a basis to discuss the general approach (rather than implementation details). The proposal might become a later contribution if there is enough interest.

@krasserm
Copy link
Author

krasserm commented Jun 6, 2017

The proposal is now extended for supporting behavior changes for request and event handlers. The approach is comparable with that of typed actors except that handler results are returned in addition to new behavior.

@ktoso ktoso added the discuss label Jun 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants