Cassandra Persistent Entities

§Storing Persistent Entities in Cassandra

This page describes how to configure Cassandra for use with Lagom’s Persistent Entity API.

§Project dependencies

To use Cassandra add the following in your project’s build:

In Maven:

<dependency>
    <groupId>com.lightbend.lagom</groupId>
    <artifactId>lagom-javadsl-persistence-cassandra_2.11</artifactId>
    <version>${lagom.version}</version>
</dependency>

In sbt:

libraryDependencies += lagomJavadslPersistenceCassandra

§Configuration

Lagom’s Cassandra support is provided by the akka-persistence-cassandra plugin. A full configuration reference can be in the plugins reference.conf.

Found an error in this documentation? The source code for this page can be found here. Please feel free to edit and contribute a pull request.