February 2018
Intermediate to advanced
552 pages
13h 46m
English
In this section, we will develop a simple Akka Persistence Weather Application to explore the CQRS/ES pattern. We will use MongoDB as our application Akka Persistence journal to store our events.
Use the following steps to experiment with Akka Persistence with MongoDB:
Project name: akka-persistence-mongodb-weather-ap
build.sbt:
name := "akka-persistence-mongodb-weather-app" version := "1.0.0" scalaVersion := "2.12.4" libraryDependencies ++= { Seq( "com.typesafe.akka" %% "akka-actor" % "2.5.9", "com.typesafe.akka" %% "akka-persistence" % "2.5.9", "com.typesafe.akka" %% "akka-slf4j" % "2.5.9" ) } ...Read now
Unlock full access