akka-persistence-chaos-journal ![Build Status](https://camo.githubusercontent.com/e3f7ebdf5e36fbd393b7478b2854d73e32e6896e2b53f43b3416789c3a345f17/68747470733a2f2f7472617669732d63692e6f72672f70736c6977612f616b6b612d70657273697374656e63652d6368616f732d6a6f75726e616c2e7376673f6272616e63683d6d6173746572)
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.