Search code examples
playorm

PlayOrm Cassandra Seeds


I am trying to specify IP address of the "Seeds" parameter and am getting an exception:

You must specify a comma delimited list of seeds OR 'localhost:9160' as the seed

I am trying to do something like:

String seeds = "192.168.100.131:9160";

Solution

  • okay, there is a new feature where you can set the consistency level so if you pass in one or more nodes will not matter so you can do what you want know. The property is Bootstrap.CASSANDRA_DEFAULT_CONSISTENCY_LEVEL and generally you set it to "CL_QUORUM"

    Dean