Skip to content
This repository was archived by the owner on Dec 27, 2021. It is now read-only.

Commit 3830e3c

Browse files
committed
enable/disable snapshot 🎉
1 parent 1d55764 commit 3830e3c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

core/lagompb-core/src/main/resources/lagompb.conf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,18 @@ akka {
427427
}
428428
}
429429

430+
akka-persistence-jdbc {
431+
# If set to true event deletion is performed as a soft, logical delete. Events are kept in the journal and are sill
432+
# delivered in queries. Otherwise, a hard delete will be performed.
433+
#
434+
# Note that even when configured for hard deletes, the last event is kept as a logical delete.
435+
# This is necessary because we must keep track of the highest sequence number that was ever used on a
436+
# given persistent actor. However, this last event will be 'invisible' it won't be ever replay nor delivered on queries.
437+
#
438+
logicalDeletion = true
439+
logicalDeletion = ${?LOGICAL_DELETION}
440+
}
441+
430442
# custom lagompb settings
431443
lagompb {
432444
service-name = "lagompb"

0 commit comments

Comments
 (0)