# Delete persistence Journal events once life cycle of behavior

**URL:** <https://discuss.akka.io/t/delete-persistence-journal-events-once-life-cycle-of-behavior/7804>\
**Category:** Persistence / Event Sourcing\
**Tags:** jdbc\
**Created:** [February 1, 2021, 3:37pm UTC](https://discuss.akka.io/t/delete-persistence-journal-events-once-life-cycle-of-behavior/7804 "2021-02-01T15:37:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartik.d](https://avatars.discourse-cdn.com/v4/letter/k/54ee81/32.png) [@kartik.d](https://discuss.akka.io/u/kartik.d)\
**Post date:** [February 1, 2021, 3:37pm UTC](https://discuss.akka.io/t/delete-persistence-journal-events-once-life-cycle-of-behavior/7804/1 "2021-02-01T15:37:34Z")

</div>

I have setup a Persistence behavior using Akka Persistence Typed. Persistence Id will be created dynamically and internally a Supervisor/Router manages the short lived child actors. Also I am applying the snapshot mechanism using **snapshotWhen**. The expectation is, once the lifecycle of the child actor is over, all the journal and snapshots events needs to be auto deleted ( related to child actor behavior). How to achieve this?
