Support default consistency level
Closed this issue · 2 comments
whatyouhide commented
Many C* clients support a default consistency level to use unless overridden. We can support a default consistency level that we pass to Xandra.start_link/1
and fall back to that unless the :consistency_level
option is passed explicitly.
whatyouhide commented
Drivers that do this:
- Java driver: https://stackoverflow.com/a/39839221
- cqlsh: https://docs.datastax.com/en/archived/cql/3.1/cql/cql_reference/consistency_r.html
- erlcass: https://github.com/silviucpp/erlcass (search for
default_consistency_level
in the README) - Python: https://datastax.github.io/python-driver/getting_started.html#setting-a-consistency-level
I think it's a no brainer then 😃
whatyouhide commented
Closed by #149.