<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 |
type | Attribute | Readwrite-splitting type, such as: Static, Dynamic |
props | Tag | Readwrite-splitting required properties. Static: write-data-source-name, read-data-source-names, Dynamic: auto-aware-data-source-name |
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.