Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Storage Plugins page Ref: Issue #3732 #3787

Merged
merged 2 commits into from May 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 {
}
}
}
```
```