diff --git a/akka-samples/akka-sample-persistence-java-lambda/build.sbt b/akka-samples/akka-sample-persistence-java-lambda/build.sbt index 5c00b502ce..ec375a371e 100644 --- a/akka-samples/akka-sample-persistence-java-lambda/build.sbt +++ b/akka-samples/akka-sample-persistence-java-lambda/build.sbt @@ -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" ) diff --git a/akka-samples/akka-sample-persistence-java-lambda/src/main/resources/application.conf b/akka-samples/akka-sample-persistence-java-lambda/src/main/resources/application.conf index da5be9b92c..48bbe84040 100644 --- a/akka-samples/akka-sample-persistence-java-lambda/src/main/resources/application.conf +++ b/akka-samples/akka-sample-persistence-java-lambda/src/main/resources/application.conf @@ -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" diff --git a/akka-samples/akka-sample-persistence-java-lambda/tutorial/index.html b/akka-samples/akka-sample-persistence-java-lambda/tutorial/index.html index ba10ebd78d..790be4a926 100644 --- a/akka-samples/akka-sample-persistence-java-lambda/tutorial/index.html +++ b/akka-samples/akka-sample-persistence-java-lambda/tutorial/index.html @@ -28,7 +28,7 @@ Custom storage locations for the journal and snapshots can be defined in
PersistentActorExample.java
-is described in detail in the Event sourcing
+is described in detail in the Event sourcing
section of the user documentation. With every application run, the ExamplePersistentActor 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 stdout.
diff --git a/akka-samples/akka-sample-persistence-java/build.sbt b/akka-samples/akka-sample-persistence-java/build.sbt
index 17295e02e5..afaa61faff 100644
--- a/akka-samples/akka-sample-persistence-java/build.sbt
+++ b/akka-samples/akka-sample-persistence-java/build.sbt
@@ -5,6 +5,8 @@ version := "2.4-SNAPSHOT"
scalaVersion := "2.11.7"
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"
)
diff --git a/akka-samples/akka-sample-persistence-java/src/main/resources/application.conf b/akka-samples/akka-sample-persistence-java/src/main/resources/application.conf
index da5be9b92c..48bbe84040 100644
--- a/akka-samples/akka-sample-persistence-java/src/main/resources/application.conf
+++ b/akka-samples/akka-sample-persistence-java/src/main/resources/application.conf
@@ -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"
diff --git a/akka-samples/akka-sample-persistence-java/tutorial/index.html b/akka-samples/akka-sample-persistence-java/tutorial/index.html
index 640669c5ff..b9dce4c2af 100644
--- a/akka-samples/akka-sample-persistence-java/tutorial/index.html
+++ b/akka-samples/akka-sample-persistence-java/tutorial/index.html
@@ -28,7 +28,7 @@ Custom storage locations for the journal and snapshots can be defined in
PersistentActorExample.java
-is described in detail in the Event sourcing
+is described in detail in the Event sourcing
section of the user documentation. With every application run, the ExamplePersistentActor 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 stdout.
diff --git a/akka-samples/akka-sample-persistence-scala/build.sbt b/akka-samples/akka-sample-persistence-scala/build.sbt
index 728836cfff..6abad16094 100644
--- a/akka-samples/akka-sample-persistence-scala/build.sbt
+++ b/akka-samples/akka-sample-persistence-scala/build.sbt
@@ -6,5 +6,7 @@ scalaVersion := "2.11.7"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT",
- "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"
)
diff --git a/akka-samples/akka-sample-persistence-scala/src/main/resources/application.conf b/akka-samples/akka-sample-persistence-scala/src/main/resources/application.conf
index da5be9b92c..48bbe84040 100644
--- a/akka-samples/akka-sample-persistence-scala/src/main/resources/application.conf
+++ b/akka-samples/akka-sample-persistence-scala/src/main/resources/application.conf
@@ -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"
diff --git a/akka-samples/akka-sample-persistence-scala/tutorial/index.html b/akka-samples/akka-sample-persistence-scala/tutorial/index.html
index 73c992930e..338fd59b8b 100644
--- a/akka-samples/akka-sample-persistence-scala/tutorial/index.html
+++ b/akka-samples/akka-sample-persistence-scala/tutorial/index.html
@@ -27,7 +27,7 @@ Custom storage locations for the journal and snapshots can be defined in
PersistentActorExample.scala
-is described in detail in the Event sourcing
+is described in detail in the Event sourcing
section of the user documentation. With every application run, the ExamplePersistentActor 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 stdout.