The new structure design will decouple master-slave/encrypt with sharding-rule, 
each feature can be idependent now.


At 2020-05-05 22:45:54, "Juan Pan" <[email protected]> wrote:
>Hi,
>
>
>It seems a significant change, hope everything goes well.
>
>
>Best wishes
>Trista
>
>
> Juan Pan (Trista)
>                         
>Senior DBA & PPMC of Apache ShardingSphere(Incubating)
>E-mail: [email protected]
>
>
>
>
>On 05/5/2020 20:14,[email protected]<[email protected]> wrote:
>Hi All,
>
>The pluggable kernel is almost finished[1] expected YAML API changes.
>
>We need to decide how the YAML API adjustment now. I prefer use flat API
>setting with YAML.
>
>The original YAML configuration:
>
>```
>dataSources:
>ds_0: !!xxx
>xxx
>ds_1: !!xxx
>xxx
>
>shardingRule:
>xxx
>masterSlaveRules:
>xxx
>encryptRule:
>xxx
>
>props:
>xxx.xxx: xxx
>```
>
>After changes:
>
>
>```
>dataSources:
>ds_0: !!xxx
>xxx
>ds_1: !!xxx
>xxx
>
>shardingRule:
>xxx
>
>masterSlaveRules:
>xxx
>
>encryptRule:
>xxx
>
>props:
>xxx.xxx: xxx
>```
>
>All rules are in the same level and can constitute by every type, for
>example: masterSlaveRule and encryptRule.
>
>Looking forward to your suggestions, thank you.
>
>
>[1] https://github.com/apache/shardingsphere/issues/3691
>
>------------------
>
>Liang Zhang (John)
>Apache ShardingSphere & Dubbo

Reply via email to