I think my previous DDD / CQRS / ES mental model is preventing me from seeing the ‘AKKA’ light…
In my previous work, command handlers for updating aggregate roots typically take up the form:
var aggregate = repository.load(id); aggregate.doBlah();
repository.load(id) will instance the AR, and apply events / snapshots before returning a rehydrated AR.
doBlah will cause the AR to emit an event which will both update it’s state, and be appended to the journal.
I’m looking to acheive the same with Akka(.Net). I see that persistence actors have a
PersistentId but I don’t see how I can use it to get an actor reference so I can
Usually, if there are no questions in the community about a thing, that means I’m asking for the wrong thing? Am I?