# 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 {
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 {
# 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.
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.