=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:
Patrik Nordwall 2015-09-01 09:04:10 +02:00
parent 9bf6b65e72
commit 0b1f280739
6 changed files with 133 additions and 31 deletions

View file

@ -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"