SequenceEventStore read and write behavior

From Axon documentation:

The SequenceEventStore is a wrapper around two other Event Stores. When reading, it returns the events from both event stores. Appended events are only appended to the second event store. This is useful in cases where two different implementations of Event Stores are used for performance reasons, for example. The first would be a larger, but slower event store, while the second is optimized for quick reading and writing.

Does that mean that the SequenceEventStore always merges the 2 event stores for reads, but uses the 2nd event store only for writes?

Hi,

yes, that’s exactly what it means. It is useful when you have a mechanism to move older events from one event store to another (cheaper) one.

Cheers,

Allard