Added journal compaction behavior for LevelDB #21677

This commit is contained in:
Nikos Nakas 2017-09-18 21:13:02 +00:00
parent bb106aa27e
commit 341b74e7c1
10 changed files with 459 additions and 4 deletions

View file

@ -47,6 +47,18 @@ object PersistencePluginDocSpec {
//#native-config
akka.persistence.journal.leveldb.native = off
//#native-config
//#compaction-intervals-config
# Number of deleted messages per persistence id that will trigger journal compaction
akka.persistence.journal.leveldb.compaction-intervals {
persistence-id-1 = 100
persistence-id-2 = 200
# ...
persistence-id-N = 1000
# use wildcards to match unspecified persistence ids, if any
"*" = 250
}
//#compaction-intervals-config
"""
}