Table of Contents

Event Type

Every event stored in the event store must have a type associated with it.

Any client connecting to Chronicle needs to communicate the event types before any events can be appended to an event sequence.

An event type can contain multiple generations. Every new event starts with generation 1 and any changes to the event should then become a new generation. This will allow versioning your event types and also allow for migrating between different event type generations with specific upcasters and downcasters.

The concept of migration is very important when working with systems that evolve over time. Being then able to just roll out new versions with changes and automatically have the events migrated to different generations is critical for evolving systems.

Note: Migrations are not supported yet. But the internals of Chronicle has been designed and prepared for this and will come in a future version.