Cassandra
Cassandra Attributes
此部分定义了 Cassandra 的属性。
Attributes
| 键 | Stability | Value Type | 描述 | Example Values |
|---|---|---|---|---|
cassandra.consistency.level | 字符串 | 查询的一致性级别。基于 CQL 中的一致性值。 | all; each_quorum; quorum | |
cassandra.coordinator.dc | 字符串 | 查询协调节点的所在数据中心。 | us-west-2 | |
cassandra.coordinator.id | 字符串 | 查询协调节点的 ID。 | be13faa2-8574-4d71-926d-27f16cf8a7af | |
cassandra.page.size | int | 用于分页的获取大小,即一次返回多少行。 | 5000 | |
cassandra.query.idempotent | 布尔值 | 查询是否是幂等的。 | ||
cassandra.speculative_execution.count | int | 查询被猜测执行的次数。如果查询没有被猜测执行,则不设置或设置为 0。 | 0; 2 |
cassandra.consistency.level 具有以下一系列已知值。如果其中一个适用,则必须使用相应的值;否则,可以(MAY)使用自定义值。
| 值 | 描述 | Stability |
|---|---|---|
all | All | |
any | Any | |
each_quorum | Each Quorum | |
local_one | Local One | |
local_quorum | Local Quorum | |
local_serial | Local Serial | |
one | One | |
quorum | Quorum | |
serial | Serial | |
three | Three | |
two | Two |