How to connect cassandra with remote hosts in persistence

Hi,

How to connect remote cassandra cluster for persistence.

I have checked the document where it mentioned to include the below config

cassandra-sessions.default.contact-points = [“23.51.143.11”]

I have included the above mentioned configuaration in my application.conf but still my application connects with the local cassandra.

Where do you see that configuration? It is cassandra-journal.contact-points the best place to look for how to configure the plugin is the reference.conf for the version you are using. If you are using the latest stable release then that’s https://github.com/akka/akka-persistence-cassandra/blob/release-0.x/core/src/main/resources/reference.conf

Thank you @chbatey