snapshotWhen based on an event

Im evaluating Kalix (im using scala); I would like to snapshot on an event (I have used snapshotWhen in akka). What is the mechanism for me to do this in Kalix?
Also, can I access a snapshot using something like Recovery with criteria?

1 Like

Hi venkykrishnan,

Currently, there is no such mechanism available in Kalix. You can set the frequency within which snapshots occur though (see this).

Note that, although Kalix is to be evolved and certainly have many great features to come, it doesn’t strive to have feature parity or be as flexible and extensive as Akka is. That said, let us know if you think the existing mechanism is not good enough for your specific use case and we can certainly discuss it internally.