读写操作的不同一致性级别

Different consistency levels for read and write operations

Cassandra是否允许为读写操作设置不同的一致性级别?

因为当我查看 datastax 的文档时,似乎读、写操作的一致性级别设置相同。

非常感谢。

没错。 Cassandra 允许我们为读写操作甚至 per-operation 基础设置一致性级别。

可以在 https://docs.datastax.com/en/cassandra/3.x/cassandra/dml/dmlConfigConsistency.html

找到更多信息