Thanks for your reply. I am aware about the @Revision Annotation and used it in some of my tests as well and it worked great. But the problem of keeping the old snapshots still remains. The thing is, one particular aggregate can grow alot and after some time (for instance having the first snapshot on the 150th event), the payload is approx. 500kb large. If we cannot delete snapshots and the aggregate is able to grow even larger we might run out of storage.
In the worst case the aggegate grows linear, let’s say the 300th-Event-Snapshot has a size of 1MB, 450th-Event 1,5MB and so on. after about 3000 events one single snapshot has a size of 10MB and while keeping the old events, we would have wasted about 90 to 100MB for all 9 old events.
Is it possible to remove the snapshot by hand? I could not find a Rest-Endpoint to delete one.