Skip to content

A plugin for akka-persistence that stores messages in memory with configurable failure rate. In may be used in persistence fault tolerance tests.

License

Notifications You must be signed in to change notification settings

psliwa/akka-persistence-chaos-journal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A plugin for akka-persistence that stores messages in memory with configurable failure rate. In may be used in persistence fault tolerance tests.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages