doc-separate-section-persistence-eager-init

This commit is contained in:
Krzysiek 2016-04-03 22:04:15 +02:00 committed by Konrad Malawski
parent 8449647e40
commit f2771eaab9
5 changed files with 13 additions and 4 deletions

View file

@ -814,6 +814,9 @@ Plugin development requires the following imports:
.. includecode:: code/docs/persistence/LambdaPersistencePluginDocTest.java#plugin-imports
Eager initialization of persistence plugin
------------------------------------------
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