Skip to content

Event Store

Chronicle offers what is called an event store which basically means a special purpose database for storing events. The events are stored in event sequences.

In addition to this, the Chronicle event store also maintains information about things like the event types, observers, projections and more.

The Chronicle event store is built on top of MongoDB. In a production environment you have to bring your own MongoDB environment and configure Chronicle to work with it. For local development, Chronicle provides a development Docker image that comes with MongoDB bundled inside it.

append · read

Event store

tenant-a namespace

event sequences

Default namespace

event sequences

(the event log)

also tracks: event types ·

observers · projections · …

Your application

MongoDB

Every event store can have namespaces. The namespaces provides a way to segregate data that is specific for a partition. Typically, a namespace can be used for multi-tenancy.

By default, Chronicle will use the Default namespace if a namespace is not provided.