Skip to content

Commit

Permalink
Merge pull request #187 from akkadotnet/readme/sample-configuration
Browse files Browse the repository at this point in the history
add copy-and-pastable MongoDB hocon to README
  • Loading branch information
Aaronontheweb authored Mar 17, 2021
2 parents 5bdad72 + 7e81fc2 commit 094959d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Both journal and snapshot store share the same configuration keys (however they
```hocon
akka.persistence {
journal {
plugin = "akka.persistence.journal.mongodb"
mongodb {
# qualified type name of the MongoDb persistence journal actor
class = "Akka.Persistence.MongoDb.Journal.MongoDbJournal, Akka.Persistence.MongoDb"
Expand Down Expand Up @@ -58,6 +59,7 @@ akka.persistence {
}
snapshot-store {
plugin = "akka.persistence.snapshot-store.mongodb"
mongodb {
# qualified type name of the MongoDB persistence snapshot actor
class = "Akka.Persistence.MongoDb.Snapshot.MongoDbSnapshotStore, Akka.Persistence.MongoDb"
Expand Down

0 comments on commit 094959d

Please sign in to comment.