Skip to content

Does it make sense to prune completed event publication entries from the database? #447

Answered by odrotbohm
matiwinnetou asked this question in Q&A
Discussion options

You must be logged in to vote

Your understanding is generally correct. We currently do not prune them directly as there might be a chance for them to be useful information about what the system did at a certain point of time. They essentially act as proof the listener code executed successfully.

Spring Modulith 1.1 shipped API to deal with completed event publications in the CompletedEventPublications and handle them. Convenience methods for pruning ones matching a filter or having been completed for a particular amount of time exist.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by odrotbohm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants