Merge pull request #19273 from talp-traiana/per-19221-eager-plugin-initialization
=per #19221 Eager initialization of persistence plugins
This commit is contained in:
commit
031147d322
6 changed files with 37 additions and 4 deletions
|
|
@ -797,6 +797,11 @@ Plugin development requires the following imports:
|
|||
|
||||
.. includecode:: code/docs/persistence/PersistencePluginDocSpec.scala#plugin-imports
|
||||
|
||||
By default, persistence plugins are started on-demand, as they are used. In some case, however, it might be beneficial
|
||||
to start a certain plugin eagerly. In order to do that, you should first add the ``akka.persistence.Persistence``
|
||||
under the ``akka.extensions`` key. Then, specify the IDs of plugins you wish to start automatically under
|
||||
``akka.persistence.journal.auto-start-journals`` and ``akka.persistence.snapshot-store.auto-start-snapshot-stores``.
|
||||
|
||||
.. _journal-plugin-api:
|
||||
|
||||
Journal plugin API
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue