Microservices Powered By Domain-Driven Design

Have you been finding it difficult to model the boundaries of your system’s microservices? Have you been slowed down by the Technical complexity of your codebase? Has your team been stepping on each other’s toes?

If answers to any or many of such questions are yes, then Domain-Driven Design is likely useful to your Team!

Building Microservices Through Event-Driven Architecture, Part 7: Implementing Event Sourcing on Repositories

Learn more about implementing event sourcing!

In this article, I will talk about Event Sourcing implementation on Repository.

The repository is responsible for adding events to the eventstore and also retrieving all events from the event store.

When the aggregate is saved, then all uncommitted events related to that aggregateroot are added to the eventstore table.