Skip to content

migesok/akka-persistence-in-memory-snapshot-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In-memory Snapshot Store Plugin for Akka Persistence

Build Status

Snapshot store backed by scala-stm's TMap.

It can be used in unit tests to avoid side-effects and unwanted dependencies between test runs.

Requirements

  • Scala 2.10.x or 2.11.x
  • Akka Persistence 2.3.6

Dependency

To include the In-memory Snapshot Store Plugin into your sbt project, add the following lines to your build.sbt file:

resolvers += "migesok at bintray" at "http://dl.bintray.com/migesok/maven"

libraryDependencies +=
  "com.migesok" %% "akka-persistence-in-memory-snapshot-store" % "0.1.1"

Configuration

To activate the plugin, add the following line to your Akka application.conf:

akka.persistence.snapshot-store.plugin = "in-memory-snapshot-store"

About

An In-Memory Snapshot Store for Akka Persistence, can be useful for unit tests.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages