/akka-persistence-example

A working sample of akka persistence using protocol buffers and an EventAdapter to map events from/to case classes

Primary LanguageScala

Importing the Project

Intellij has native support for sbt projects. Please, see details here.

Running the Project Locally

You may launch the app from your ide for debugging or running. Please, see details here.

Running Cassandra Locally

For local development you may run cassandra locally from docker with the following command: docker run --name cassandra-akka -p 7000:7000 -p 7199:7199 -p 9042:9042 -p 9160:9160 -d cassandra.

The keyspaces and tables required by the application are created automatically for you if the application is started and the akka_example and akka_example_snapshot keyspaces are missing.