Event Sourcing

Event Sourcing is a pattern for data storage, where instead of storing the current state of any entity, all past changes to that state are stored. With Axon Framework, you can implement Event Sourcing with minimal boilerplate code, giving you the benefits of Event Sourcing, without the hassle.

How do I enhance events with data that is not part of the Aggregate?

By Allard Buijze

    5 min

|

    May 31, 2017

To answer the question How do I enhance events with data that is not part of the Aggregate? I can provide several possibilities. I will list them here in this blog post.

How can I identify entities within an aggregate?

By Allard Buijze

    2 min

|

    May 30, 2017

There are roughly three options for choosing identifiers: random, hash or sequential. The advantage of random and hash identifiers is that the client can generate the identifier, and reference an instance without the need to wait for the result of the creation command.