Merge pull request #19273 from talp-traiana/per-19221-eager-plugin-initialization

=per #19221 Eager initialization of persistence plugins
This commit is contained in:
Konrad Malawski 2015-12-29 16:43:24 +01:00
commit 031147d322
6 changed files with 37 additions and 4 deletions

View file

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