=sam update leveldb dependencies and doc links

(cherry picked from commit 8291bc0aca504851d0619815c98c760a7d458d18)
This commit is contained in:
Marek Kadek 2015-09-04 11:20:38 +12:00 committed by Patrik Nordwall
parent 99459b0d4f
commit bdef50eb8d
9 changed files with 21 additions and 6 deletions

View file

@ -9,6 +9,8 @@ javacOptions in compile ++= Seq("-encoding", "UTF-8", "-source", "1.8", "-target
javacOptions in doc ++= Seq("-encoding", "UTF-8", "-source", "1.8", "-Xdoclint:none")
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-persistence" % "2.4-SNAPSHOT"
"com.typesafe.akka" %% "akka-persistence" % "2.4-SNAPSHOT",
"org.iq80.leveldb" % "leveldb" % "0.7",
"org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"
)

View file

@ -1,3 +1,6 @@
akka.persistence.journal.plugin = "akka.persistence.journal.leveldb"
akka.persistence.snapshot-store.plugin = "akka.persistence.snapshot-store.local"
akka.persistence.journal.leveldb.dir = "target/example/journal"
akka.persistence.snapshot-store.local.dir = "target/example/snapshots"

View file

@ -28,7 +28,7 @@ Custom storage locations for the journal and snapshots can be defined in
<h2>Persistent actor</h2>
<p>
<a href="#code/src/main/java/sample/persistence/PersistentActorExample.java" class="shortcut">PersistentActorExample.java</a>
is described in detail in the <a href="http://doc.akka.io/docs/akka/2.3-SNAPSHOT/java/lambda-persistence.html#event-sourcing-java-lambda" target="_blank">Event sourcing</a>
is described in detail in the <a href="http://doc.akka.io/docs/akka/2.4-SNAPSHOT/java/lambda-persistence.html#event-sourcing-java-lambda" target="_blank">Event sourcing</a>
section of the user documentation. With every application run, the <code>ExamplePersistentActor</code> is recovered from
events stored in previous application runs, processes new commands, stores new events and snapshots and prints the
current persistent actor state to <code>stdout</code>.