Cassandra
By default in Lagom framework, microservices that need to persist data use Cassandra as a data store. For developer convenience, Lightbend supplies an embedded Cassandra server in the development environment so that we don't have to worry about installing it. We can use this in-built data store in a development environment. However, we need to use an external data store in production environments.
When we start our development environment using sbt runAll, by default it also starts that embedded Cassandra data store at the default port number. We will discuss how to configure an external data store and how to change the default port number in the coming sections.
If we observe the external Cassandra server, by default it starts ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access