Bump to akka-2.6.17
[controller.git] / akka / repackaged-akka-jar / src / main / resources / persistence_reference.conf
index 25e629903da557b38250c6b6b3095af5fad98eb8..db9ae1ecbea08a517f4d8cb8cd20bf640ee482e1 100644 (file)
@@ -6,7 +6,7 @@
 # Make your edits in your application.conf in order to override these settings.
 
 # Directory of persistence journal and snapshot store plugins is available at the 
-# Akka Community Projects page http://akka.io/community/
+# Akka Community Projects page https://akka.io/community/
 
 # Default persistence extension settings.
 akka.persistence {
@@ -168,6 +168,15 @@ akka.persistence {
         call-timeout = 20s
         reset-timeout = 60s
       }
+
+      # Set this to true if successful loading of snapshot is not necessary.
+      # This can be useful when it is alright to ignore snapshot in case of
+      # for example deserialization errors. When snapshot loading fails it will instead
+      # recover by replaying all events.
+      # Don't set to true if events are deleted because that would
+      # result in wrong recovered state if snapshot load fails.
+      snapshot-is-optional = false
+
     }
 
   fsm {
@@ -178,6 +187,21 @@ akka.persistence {
     # which means a snapshot is taken after persisting every 1000 events.
     snapshot-after = off
   }
+
+  # DurableStateStore settings
+  state {
+    # Absolute path to the KeyValueStore plugin configuration entry used by
+    # DurableStateBehavior actors by default.
+    # DurableStateBehavior can override `durableStateStorePluginId` method (`withDurableStateStorePluginId`)
+    # in order to rely on a different plugin.
+    plugin = ""
+  }
+
+  # Fallback settings for DurableStateStore plugin configurations
+  # These settings are used if they are not defined in plugin config section.
+  state-plugin-fallback {
+    recovery-timeout = 30s
+  }
 }
 
 # Protobuf serialization for the persistent extension messages.
@@ -207,6 +231,9 @@ akka.persistence.journal.inmem {
     class = "akka.persistence.journal.inmem.InmemJournal"
     # Dispatcher for the plugin actor.
     plugin-dispatcher = "akka.actor.default-dispatcher"
+
+    # Turn this on to test serialization of the events
+    test-serialization = off
 }
 
 # Local file system snapshot store plugin.