Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.07 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.07 KB

akka-persistence-chaos-journal Build Status

It is a plugin for akka-persistence that stores messages in memory with configurable failure rate. In may be used in persistence fault tolerance tests. The plugin is written on the top of akka-persistence-inmemory.

Installation

libraryDependencies += "org.psliwa" %% "akka-persistence-chaos-journal" % "2.5.1.1.0"

How to use?

The exemplary project with the usage of the plugin for tests is here.

Add in yours application.conf:

akka.persistence {
    journal.plugin = "akka.persistence.chaos.journal"
    read-journal.plugin = "akka.persistence.chaos.read-journal"
    snapshot.plugin = "inmemory-snapshot-store"
}

Configuration details you can find in reference.conf.