Globally configuring Snapshotter

Hi!
I’m looking for a way to to configure snapshotting for all my repositories globally, since I have quite a lot of different Aggregate Types.

Is this possible with Axon at the moment?

I’m using Spring with a jdbc event storage.

Thanks for the help,

Andreas

Hi Andreas,

currently, it is not possible to have one setting to activate snapshotting for all Aggregates at once. You can have a single AggregateSnapshotter instance, but each Aggregate needs to be configured with a SnapshotterTrigger. Again, that may be a single instance if the Aggregates should be triggered under the same conditions, but it needs to be defined for each Aggregate type.

Cheers,

Allard