Readwrite-splitting
Configuration Item Explanation
<readwrite-splitting:rule />
Name | Type | Description |
---|---|---|
id | Attribute | Spring Bean Id |
data-source-rule (+) | Tag | Readwrite-splitting data source rule configuration |
<readwrite-splitting:data-source-rule />
Name | Type | Description |
---|---|---|
id | Attribute | Readwrite-splitting data source rule name |
auto-aware-data-source-name | Attribute | Auto aware data source name(Use with database discovery) |
write-data-source-name | Attribute | Write data source name |
read-data-source-names | Attribute | Read data source names, multiple data source names separated with comma |
load-balance-algorithm-ref | Attribute | Load balance algorithm name |
<readwrite-splitting:load-balance-algorithm />
Name | Type | Description |
---|---|---|
id | Attribute | Load balance algorithm name |
type | Attribute | Load balance algorithm type |
props (?) | Tag | Load balance algorithm properties |
Please refer to Built-in Load Balance Algorithm List for more details about type of algorithm. Please refer to Use Norms for more details about query consistent routing.
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .