How to delete events in Akka Persistence

Hi,

How to delete events from cassandra database which is starting with specific prefix.
Say, If I am creating persistent actors with name "Actor+xx… Now I want to delete all the events which has a prefix “Actor”.

How to achieve this usecase ?

We have method called deleteMessages(long seqNo). This will delete the message till this seqNo.

Do we have any other support for deleting message in Akka Persistence

Thanks

Hi @anilkumble there’s currently no way to delete events for persistenceIds that match a pattern. You’ll need to do it for each persistent actor.