Datastax-java-driver configuration

When using lagom persistence cassandra, how can we add in application.conf
datastax-java-driver { }
configurations that are not present in lagom persistence’s reference.conf ?

Lagom is using akka-persistence-cassandra 0.103, which isn’t using that version of the Cassandra driver. Here is the reference.conf

I want to connect to DataStax Astra, how can I configure the cloud-secure-connect-bundle

           .withCloudSecureConnectBundle(Paths.get("/path/to/")) ```

Can we upgrade akka-persistence-cassandra to version 1.0.1 ?

Not in current version of Lagom. Major API and configuration changes, so that will be in Lagom 1.7, which is not scheduled yet.

One alternative could be to use Lagom with Akka Persistence Typed (EventSourcedBehavior) and Akka Projections instead of the Lagom persistence and read-side modules.

@patriknw I will explore the second option.
What Is the main difference between “Akka Projections” and “Akka persistence query” ?

Akka Persistence Query is a lower level building block, which is used by Akka Projections. Akka Projections takes care of the offset storage, error handling, and distribution of the projections over the cluster. Similar to Lagom read-side. Read about it here:

so to recap, I have to replace



"com.typesafe.akka" %% "akka-persistence-cassandra" % "1.0.1"
"com.lightbend.akka" %% "akka-projection-core" % "0.3"