Introduction

Get an overview of what we will cover in this chapter.

We'll cover the following

This chapter will build on the previous chapter’s efforts by recording these events in the database to maintain a history of the modifications made to the aggregate.

Chapter overview

In this chapter, we will update our domain events to support event sourcing, add an event sourcing package with new types, and create and use Command and Query Responsibility Segregation (CQRS) read models projected from our domain events. Finally, we will learn how to implement aggregate snapshots.

Here is illustrated a quick rundown of the topics that we will be covering:

Get hands-on with 1400+ tech skills courses.