Perhaps a newbie question.
I have configured a mongo-backed EventStoreEngine. I use Tracking event processors for aggregates, event handlers, and sagas, but I don’t use Event Sourcing to build the aggregate state. The aggregates are backed by domain entities I store in the DB.
So far I issue an event by applying it in the aggregate, all works well. The same event also triggers a new saga, which is persisted in a mongo-backed SagaStore.
What I see is that all issued events are stored in the domainevents collection.
I am wondering about how will these events be deleted. I don’t believe I need these events past them being triggered and fully handled.
Is this part of the framework? Should I do something special to clean-up previously processed events? Should they be kept in the DB for some other reason?
I would appreciate guidance on the matter.