Skip to content

Commit

Permalink
Update Storage Plugins page Ref Issue #3732 (#3787)
Browse files Browse the repository at this point in the history
Changed Journals and Snapshot store examples to align them correctly.

Closes #3732
  • Loading branch information
Abi authored and Aaronontheweb committed May 18, 2019
1 parent 383a51c commit d33d113
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/articles/persistence/storage-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ title: Storage plugins

Journal is a specialized type of actor which exposes an API to handle incoming events and store them in backend storage. By default Akka.Persistence uses a `MemoryJournal` which stores all events in memory and therefore it's not persistent storage. A custom journal configuration path may be specified inside *akka.persistence.journal.plugin* path and by default it requires two keys set: *class* and *plugin-dispatcher*. Example configuration:

[!code-json[Main](../../../src/core/Akka.Persistence/persistence.conf#L196-L202)]
[!code-json[Main](../../../src/core/Akka.Persistence/persistence.conf#L201-L207)]

## Snapshot store

Snapshot store is a specialized type of actor which exposes an API to handle incoming snapshot-related requests and is able to save snapshots in some backend storage. By default Akka.Persistence uses a `LocalSnapshotStore`, which uses a local file system as storage. A custom snapshot store configuration path may be specified inside *akka.persistence.snapshot-store.plugin* path and by default it requires two keys set: *class* and *plugin-dispatcher*. Example configuration:

[!code-json[Main](../../../src/core/Akka.Persistence/persistence.conf#L204-L219)]
[!code-json[Main](../../../src/core/Akka.Persistence/persistence.conf#L209-L215)]

### Eager initialization of persistence plugin

Expand All @@ -35,4 +35,4 @@ akka {
}
}
}
```
```

0 comments on commit d33d113

Please sign in to comment.