Using EventCountSnapshotterTrigger with DisruptorCommandBus

Hi,

I’m in the process of configuring aggregate snapshotting for our application and was wondering if it’s possible to use the EventCountSnapshotterTrigger in conjunction with the DisruptorCommandBus? I’m running into complications at the moment because the trigger is designed to be attached to an aggregate repository but the DisruptorRepository doesn’t support the concept of EventStreamDecorators used by other implementations (i.e. EventSourcingRepository). Is there a way to wire up the default trigger when using a DisruptorCommandBus or do I need to look at a custom solution?

Thanks,
Paul

Hi,

for some reason, snapshot triggering never made it to the disruptor command bus. I will add it soon.
I have been usig the dcb a lot myself, but I now realize that I have always had short-lived aggregates myself. That must have been the case for all the others using it as well.

Coming soon…
Cheers,

Allard

Hi Allard,

thanks for the update.

Cheers,
Paul