Akka-persistence-inmemory is a plugin for akka-persistence that writes journal and snapshot entries entries to an in-memory store. It is very useful for testing your persistent actors.
To include the plugin into your sbt project, add the following lines to your build.sbt file:
resolvers += "dnvriend at bintray" at "http://dl.bintray.com/dnvriend/maven"
libraryDependencies += "com.github.dnvriend" %% "akka-persistence-inmemory" % "1.0.2"
Add the following to the application.conf:
akka {
persistence {
journal.plugin = "inmemory-journal"
snapshot-store.plugin = "inmemory-snapshot-store"
}
}
- Merged Issue #2 Sebastián Ortega Regression: Fix corner case when persisted events are deleted, thanks!
- Added test for the corner case issue #1 and #2
- Refactored from the ConcurrentHashMap implementation to a pure Actor managed concurrency model
- Some refactoring, fixed some misconceptions about the behavior of Scala Futures one year ago :)
- Akka 2.3.6 -> 2.3.11
- Scala 2.11.1 -> 2.11.6
- Scala 2.10.4 -> 2.10.5
- Merged Issue #1 Sebastián Ortega Fix corner case when persisted events are deleted, thanks!
- Moved to bintray
- Akka 2.3.4 -> 2.3.6
- Initial Release
Have fun!