=per #18342 Improve docs for leveldb plugin config
* clarify how to enable the plugin * added empty class property in fallback config in reference to have a proper place to document that and throw a more specific exception if it is not defined * also some formatting of reference.conf
This commit is contained in:
parent
9bf6b65e72
commit
0b1f280739
6 changed files with 133 additions and 31 deletions
|
|
@ -26,8 +26,18 @@ import akka.persistence.snapshot._
|
|||
object PersistencePluginDocSpec {
|
||||
val config =
|
||||
"""
|
||||
//#leveldb-plugin-config
|
||||
# Path to the journal plugin to be used
|
||||
akka.persistence.journal.plugin = "akka.persistence.journal.leveldb"
|
||||
//#leveldb-plugin-config
|
||||
|
||||
//#leveldb-snapshot-plugin-config
|
||||
# Path to the snapshot store plugin to be used
|
||||
akka.persistence.snapshot-store.plugin = "akka.persistence.snapshot-store.local"
|
||||
//#leveldb-snapshot-plugin-config
|
||||
|
||||
//#max-message-batch-size
|
||||
akka.persistence.journal.max-message-batch-size = 200
|
||||
akka.persistence.journal.leveldb.max-message-batch-size = 200
|
||||
//#max-message-batch-size
|
||||
//#journal-config
|
||||
akka.persistence.journal.leveldb.dir = "target/journal"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue