Reputation: 1
There is any option to add default consistency level LOCAL_QUORUM to side or cassandra.ymal file.
Upvotes: 0
Views: 118
Reputation: 3577
Using JAVA :
QueryOptions option = new QueryOptions();
option.setConsistencyLevel(ConsistencyLevel.LOCAL_QUORUM);
Cluster.Builder clusterBuilder = Cluster.builder().withQueryOptions(option);
Upvotes: 1