You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/11/03 11:57:23 UTC

[GitHub] [shardingsphere] yx9o opened a new pull request #13443: For #10983,Optimize change history of Spring Boot Starter Configuration.

yx9o opened a new pull request #13443:
URL: https://github.com/apache/shardingsphere/pull/13443


   For #10983,Optimize change history of ShardingSphere-JDBC Spring Boot Starter Configuration.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] codecov-commenter commented on pull request #13443: For #10983,Optimize change history of Spring Boot Starter Configuration.

Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #13443:
URL: https://github.com/apache/shardingsphere/pull/13443#issuecomment-959852245


   # [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#13443](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (9c3a69c) into [master](https://codecov.io/gh/apache/shardingsphere/commit/82f9efc477f45195d4c27bd0b193a241bc6eef63?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (82f9efc) will **increase** coverage by `0.00%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/shardingsphere/pull/13443/graphs/tree.svg?width=650&height=150&src=pr&token=ZvlXpWa7so&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   
   ```diff
   @@            Coverage Diff            @@
   ##             master   #13443   +/-   ##
   =========================================
     Coverage     63.60%   63.61%           
     Complexity     1627     1627           
   =========================================
     Files          2670     2670           
     Lines         39975    39975           
     Branches       6840     6840           
   =========================================
   + Hits          25428    25431    +3     
   + Misses        12607    12604    -3     
     Partials       1940     1940           
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
   |---|---|---|
   | [...d/text/distsql/ral/common/hint/HintSourceType.java](https://codecov.io/gh/apache/shardingsphere/pull/13443/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC90ZXh0L2Rpc3RzcWwvcmFsL2NvbW1vbi9oaW50L0hpbnRTb3VyY2VUeXBlLmphdmE=) | `42.85% <0.00%> (+42.85%)` | :arrow_up: |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [82f9efc...9c3a69c](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] codecov-commenter commented on pull request #13443: For #10983,Optimize change history of Spring Boot Starter Configuration.

Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #13443:
URL: https://github.com/apache/shardingsphere/pull/13443#issuecomment-959852245


   # [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#13443](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (9c3a69c) into [master](https://codecov.io/gh/apache/shardingsphere/commit/82f9efc477f45195d4c27bd0b193a241bc6eef63?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (82f9efc) will **increase** coverage by `0.00%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/shardingsphere/pull/13443/graphs/tree.svg?width=650&height=150&src=pr&token=ZvlXpWa7so&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   
   ```diff
   @@            Coverage Diff            @@
   ##             master   #13443   +/-   ##
   =========================================
     Coverage     63.60%   63.61%           
     Complexity     1627     1627           
   =========================================
     Files          2670     2670           
     Lines         39975    39975           
     Branches       6840     6840           
   =========================================
   + Hits          25428    25431    +3     
   + Misses        12607    12604    -3     
     Partials       1940     1940           
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
   |---|---|---|
   | [...d/text/distsql/ral/common/hint/HintSourceType.java](https://codecov.io/gh/apache/shardingsphere/pull/13443/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtcHJveHkvc2hhcmRpbmdzcGhlcmUtcHJveHktYmFja2VuZC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvcHJveHkvYmFja2VuZC90ZXh0L2Rpc3RzcWwvcmFsL2NvbW1vbi9oaW50L0hpbnRTb3VyY2VUeXBlLmphdmE=) | `42.85% <0.00%> (+42.85%)` | :arrow_up: |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [82f9efc...9c3a69c](https://codecov.io/gh/apache/shardingsphere/pull/13443?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] yx9o commented on a change in pull request #13443: For #10983,Optimize change history of Spring Boot Starter Configuration.

Posted by GitBox <gi...@apache.org>.
yx9o commented on a change in pull request #13443:
URL: https://github.com/apache/shardingsphere/pull/13443#discussion_r741922412



##########
File path: docs/document/content/reference/api-change-history/shardingsphere-jdbc/spring-boot-starter.cn.md
##########
@@ -3,505 +3,420 @@ title = "Spring Boot Start 配置"
 weight = 4
 +++
 
-## 5.0.0-beta
+## 5.0.0-alpha
 
-### 分片
+### 数据分片
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-# Standard sharding table configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # Describe data source names and actual tables, delimiter as point, multiple data nodes separated with comma, support inline expression. Absent means sharding databases only.
+# 标准分片表配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # 由数据源名 + 表名组成,以小数点分隔。多个表以逗号分隔,支持 inline 表达式。缺省表示使用已知数据源与逻辑表名称生成数据节点,用于广播表(即每个库中都需要一个同样的表用于关联查询,多为字典表)或只分库不分表且所有库的表结构完全一致的情况
 
-# Databases sharding strategy, use default databases sharding strategy if absent. sharding strategy below can choose only one.
+# 分库策略,缺省表示使用默认分库策略,以下的分片策略只能选其一
 
-# For single sharding column scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于单分片键的标准分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# For multiple sharding columns scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # Sharding column names, multiple columns separated with comma
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于多分片键的复合分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # 分片列名称,多个列以逗号分隔
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Sharding by hint
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于Hint 的分片策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Tables sharding strategy, same as database sharding strategy
-spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # Omitted
+# 分表策略,同分库策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # 省略
 
-# Auto sharding table configuraiton
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # data source names
+# 自动分片表配置
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # 数据源名
 
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # Auto sharding algorithm name
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # 自动分片算法名称
 
-# Key generator strategy configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # Column name of key generator
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # Key generator name
+# 分布式序列策略配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # 分布式序列列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # 分布式序列算法名称
 
-spring.shardingsphere.rules.sharding.binding-tables[0]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[1]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[x]= # Binding table name
+spring.shardingsphere.rules.sharding.binding-tables[0]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[1]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[x]= # 绑定表规则列表
 
-spring.shardingsphere.rules.sharding.broadcast-tables[0]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[1]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[x]= # Broadcast tables
+spring.shardingsphere.rules.sharding.broadcast-tables[0]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[1]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[x]= # 广播表规则列表
 
-spring.shardingsphere.sharding.default-database-strategy.xxx= # Default strategy for database sharding
-spring.shardingsphere.sharding.default-table-strategy.xxx= # Default strategy for table sharding
-spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # Default Key generator strategy
+spring.shardingsphere.sharding.default-database-strategy.xxx= # 默认数据库分片策略
+spring.shardingsphere.sharding.default-table-strategy.xxx= # 默认表分片策略
+spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # 默认分布式序列策略
 
-# Sharding algorithm configuration
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # Sharding algorithm type
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# Sharding algorithm properties
+# 分片算法配置
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # 分片算法类型
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# 分片算法属性配置
 
-# Key generate algorithm configuration
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # Key generate algorithm type
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # Key generate algorithm properties
+# 分布式序列算法配置
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # 分布式序列算法类型
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # 分布式序列算法属性配置
 ```
 
-Please refer to [Built-in sharding Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/sharding) and [Built-in keygen Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/keygen)。
-
 ### 读写分离
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.primary-data-source-name= # Write data source name
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.replica-data-source-names= # Read data source names, multiple data source names separated with comma
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.load-balancer-name= # Load balance algorithm name
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.primary-data-source-name= # 主数据源名称
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.replica-data-source-names= # 从数据源名称,多个从数据源用逗号分隔
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.load-balancer-name= # 负载均衡算法名称
 
-# Load balance algorithm configuration
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.type= # Load balance algorithm type
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.props.xxx= # Load balance algorithm properties
+# 负载均衡算法配置
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.type= # 负载均衡算法类型
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.props.xxx= # 负载均衡算法属性配置
 ```
 
-Please refer to [Built-in Load Balance Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/load-balance) for more details about type of algorithm.
-
-### 加密
+### 数据加密
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # Cipher column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # Assisted query column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # Plain column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # Encrypt algorithm name
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # 加密列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # 查询列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # 原文列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # 加密算法名称
 
-# Encrypt algorithm configuration
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # Encrypt algorithm type
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # Encrypt algorithm properties
+# 加密算法配置
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # 加密算法类型
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # 加密算法属性配置
 ```
 
 ### 影子库
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.shadow.column= # Shadow column name
-spring.shardingsphere.rules.shadow.shadow-mappings.<product-data-source-name>= # Shadow data source name
+spring.shardingsphere.rules.shadow.column= # 影子字段名称名称

Review comment:
       > duplicate words `名称`
   
   @menghaoranss Has been updated, please review, thank you.

##########
File path: docs/document/content/reference/api-change-history/shardingsphere-jdbc/spring-boot-starter.cn.md
##########
@@ -3,505 +3,420 @@ title = "Spring Boot Start 配置"
 weight = 4
 +++
 
-## 5.0.0-beta
+## 5.0.0-alpha
 
-### 分片
+### 数据分片
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-# Standard sharding table configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # Describe data source names and actual tables, delimiter as point, multiple data nodes separated with comma, support inline expression. Absent means sharding databases only.
+# 标准分片表配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # 由数据源名 + 表名组成,以小数点分隔。多个表以逗号分隔,支持 inline 表达式。缺省表示使用已知数据源与逻辑表名称生成数据节点,用于广播表(即每个库中都需要一个同样的表用于关联查询,多为字典表)或只分库不分表且所有库的表结构完全一致的情况
 
-# Databases sharding strategy, use default databases sharding strategy if absent. sharding strategy below can choose only one.
+# 分库策略,缺省表示使用默认分库策略,以下的分片策略只能选其一
 
-# For single sharding column scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于单分片键的标准分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# For multiple sharding columns scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # Sharding column names, multiple columns separated with comma
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于多分片键的复合分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # 分片列名称,多个列以逗号分隔
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Sharding by hint
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于Hint 的分片策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Tables sharding strategy, same as database sharding strategy
-spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # Omitted
+# 分表策略,同分库策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # 省略
 
-# Auto sharding table configuraiton
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # data source names
+# 自动分片表配置
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # 数据源名
 
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # Auto sharding algorithm name
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # 自动分片算法名称
 
-# Key generator strategy configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # Column name of key generator
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # Key generator name
+# 分布式序列策略配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # 分布式序列列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # 分布式序列算法名称
 
-spring.shardingsphere.rules.sharding.binding-tables[0]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[1]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[x]= # Binding table name
+spring.shardingsphere.rules.sharding.binding-tables[0]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[1]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[x]= # 绑定表规则列表
 
-spring.shardingsphere.rules.sharding.broadcast-tables[0]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[1]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[x]= # Broadcast tables
+spring.shardingsphere.rules.sharding.broadcast-tables[0]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[1]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[x]= # 广播表规则列表
 
-spring.shardingsphere.sharding.default-database-strategy.xxx= # Default strategy for database sharding
-spring.shardingsphere.sharding.default-table-strategy.xxx= # Default strategy for table sharding
-spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # Default Key generator strategy
+spring.shardingsphere.sharding.default-database-strategy.xxx= # 默认数据库分片策略
+spring.shardingsphere.sharding.default-table-strategy.xxx= # 默认表分片策略
+spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # 默认分布式序列策略
 
-# Sharding algorithm configuration
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # Sharding algorithm type
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# Sharding algorithm properties
+# 分片算法配置
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # 分片算法类型
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# 分片算法属性配置
 
-# Key generate algorithm configuration
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # Key generate algorithm type
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # Key generate algorithm properties
+# 分布式序列算法配置
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # 分布式序列算法类型
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # 分布式序列算法属性配置
 ```
 
-Please refer to [Built-in sharding Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/sharding) and [Built-in keygen Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/keygen)。
-
 ### 读写分离
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.primary-data-source-name= # Write data source name
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.replica-data-source-names= # Read data source names, multiple data source names separated with comma
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.load-balancer-name= # Load balance algorithm name
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.primary-data-source-name= # 主数据源名称
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.replica-data-source-names= # 从数据源名称,多个从数据源用逗号分隔
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.load-balancer-name= # 负载均衡算法名称
 
-# Load balance algorithm configuration
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.type= # Load balance algorithm type
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.props.xxx= # Load balance algorithm properties
+# 负载均衡算法配置
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.type= # 负载均衡算法类型
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.props.xxx= # 负载均衡算法属性配置
 ```
 
-Please refer to [Built-in Load Balance Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/load-balance) for more details about type of algorithm.
-
-### 加密
+### 数据加密
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # Cipher column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # Assisted query column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # Plain column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # Encrypt algorithm name
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # 加密列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # 查询列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # 原文列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # 加密算法名称
 
-# Encrypt algorithm configuration
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # Encrypt algorithm type
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # Encrypt algorithm properties
+# 加密算法配置
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # 加密算法类型
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # 加密算法属性配置
 ```
 
 ### 影子库
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.shadow.column= # Shadow column name
-spring.shardingsphere.rules.shadow.shadow-mappings.<product-data-source-name>= # Shadow data source name
+spring.shardingsphere.rules.shadow.column= # 影子字段名称名称

Review comment:
       > duplicate words `名称`
   
   @menghaoranss Has been updated, please review, thank you.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] codecov-commenter commented on pull request #13443: For #10983,Optimize change history of Spring Boot Starter Configuration.

Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #13443:
URL: https://github.com/apache/shardingsphere/pull/13443#issuecomment-959852245






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] yx9o commented on a change in pull request #13443: For #10983,Optimize change history of Spring Boot Starter Configuration.

Posted by GitBox <gi...@apache.org>.
yx9o commented on a change in pull request #13443:
URL: https://github.com/apache/shardingsphere/pull/13443#discussion_r741922412



##########
File path: docs/document/content/reference/api-change-history/shardingsphere-jdbc/spring-boot-starter.cn.md
##########
@@ -3,505 +3,420 @@ title = "Spring Boot Start 配置"
 weight = 4
 +++
 
-## 5.0.0-beta
+## 5.0.0-alpha
 
-### 分片
+### 数据分片
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-# Standard sharding table configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # Describe data source names and actual tables, delimiter as point, multiple data nodes separated with comma, support inline expression. Absent means sharding databases only.
+# 标准分片表配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # 由数据源名 + 表名组成,以小数点分隔。多个表以逗号分隔,支持 inline 表达式。缺省表示使用已知数据源与逻辑表名称生成数据节点,用于广播表(即每个库中都需要一个同样的表用于关联查询,多为字典表)或只分库不分表且所有库的表结构完全一致的情况
 
-# Databases sharding strategy, use default databases sharding strategy if absent. sharding strategy below can choose only one.
+# 分库策略,缺省表示使用默认分库策略,以下的分片策略只能选其一
 
-# For single sharding column scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于单分片键的标准分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# For multiple sharding columns scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # Sharding column names, multiple columns separated with comma
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于多分片键的复合分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # 分片列名称,多个列以逗号分隔
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Sharding by hint
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于Hint 的分片策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Tables sharding strategy, same as database sharding strategy
-spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # Omitted
+# 分表策略,同分库策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # 省略
 
-# Auto sharding table configuraiton
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # data source names
+# 自动分片表配置
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # 数据源名
 
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # Auto sharding algorithm name
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # 自动分片算法名称
 
-# Key generator strategy configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # Column name of key generator
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # Key generator name
+# 分布式序列策略配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # 分布式序列列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # 分布式序列算法名称
 
-spring.shardingsphere.rules.sharding.binding-tables[0]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[1]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[x]= # Binding table name
+spring.shardingsphere.rules.sharding.binding-tables[0]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[1]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[x]= # 绑定表规则列表
 
-spring.shardingsphere.rules.sharding.broadcast-tables[0]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[1]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[x]= # Broadcast tables
+spring.shardingsphere.rules.sharding.broadcast-tables[0]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[1]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[x]= # 广播表规则列表
 
-spring.shardingsphere.sharding.default-database-strategy.xxx= # Default strategy for database sharding
-spring.shardingsphere.sharding.default-table-strategy.xxx= # Default strategy for table sharding
-spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # Default Key generator strategy
+spring.shardingsphere.sharding.default-database-strategy.xxx= # 默认数据库分片策略
+spring.shardingsphere.sharding.default-table-strategy.xxx= # 默认表分片策略
+spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # 默认分布式序列策略
 
-# Sharding algorithm configuration
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # Sharding algorithm type
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# Sharding algorithm properties
+# 分片算法配置
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # 分片算法类型
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# 分片算法属性配置
 
-# Key generate algorithm configuration
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # Key generate algorithm type
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # Key generate algorithm properties
+# 分布式序列算法配置
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # 分布式序列算法类型
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # 分布式序列算法属性配置
 ```
 
-Please refer to [Built-in sharding Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/sharding) and [Built-in keygen Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/keygen)。
-
 ### 读写分离
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.primary-data-source-name= # Write data source name
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.replica-data-source-names= # Read data source names, multiple data source names separated with comma
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.load-balancer-name= # Load balance algorithm name
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.primary-data-source-name= # 主数据源名称
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.replica-data-source-names= # 从数据源名称,多个从数据源用逗号分隔
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.load-balancer-name= # 负载均衡算法名称
 
-# Load balance algorithm configuration
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.type= # Load balance algorithm type
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.props.xxx= # Load balance algorithm properties
+# 负载均衡算法配置
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.type= # 负载均衡算法类型
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.props.xxx= # 负载均衡算法属性配置
 ```
 
-Please refer to [Built-in Load Balance Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/load-balance) for more details about type of algorithm.
-
-### 加密
+### 数据加密
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # Cipher column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # Assisted query column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # Plain column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # Encrypt algorithm name
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # 加密列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # 查询列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # 原文列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # 加密算法名称
 
-# Encrypt algorithm configuration
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # Encrypt algorithm type
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # Encrypt algorithm properties
+# 加密算法配置
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # 加密算法类型
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # 加密算法属性配置
 ```
 
 ### 影子库
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.shadow.column= # Shadow column name
-spring.shardingsphere.rules.shadow.shadow-mappings.<product-data-source-name>= # Shadow data source name
+spring.shardingsphere.rules.shadow.column= # 影子字段名称名称

Review comment:
       > duplicate words `名称`
   
   @menghaoranss Has been updated, please review, thank you.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] yx9o commented on a change in pull request #13443: For #10983,Optimize change history of Spring Boot Starter Configuration.

Posted by GitBox <gi...@apache.org>.
yx9o commented on a change in pull request #13443:
URL: https://github.com/apache/shardingsphere/pull/13443#discussion_r741922412



##########
File path: docs/document/content/reference/api-change-history/shardingsphere-jdbc/spring-boot-starter.cn.md
##########
@@ -3,505 +3,420 @@ title = "Spring Boot Start 配置"
 weight = 4
 +++
 
-## 5.0.0-beta
+## 5.0.0-alpha
 
-### 分片
+### 数据分片
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-# Standard sharding table configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # Describe data source names and actual tables, delimiter as point, multiple data nodes separated with comma, support inline expression. Absent means sharding databases only.
+# 标准分片表配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # 由数据源名 + 表名组成,以小数点分隔。多个表以逗号分隔,支持 inline 表达式。缺省表示使用已知数据源与逻辑表名称生成数据节点,用于广播表(即每个库中都需要一个同样的表用于关联查询,多为字典表)或只分库不分表且所有库的表结构完全一致的情况
 
-# Databases sharding strategy, use default databases sharding strategy if absent. sharding strategy below can choose only one.
+# 分库策略,缺省表示使用默认分库策略,以下的分片策略只能选其一
 
-# For single sharding column scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于单分片键的标准分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# For multiple sharding columns scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # Sharding column names, multiple columns separated with comma
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于多分片键的复合分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # 分片列名称,多个列以逗号分隔
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Sharding by hint
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于Hint 的分片策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Tables sharding strategy, same as database sharding strategy
-spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # Omitted
+# 分表策略,同分库策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # 省略
 
-# Auto sharding table configuraiton
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # data source names
+# 自动分片表配置
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # 数据源名
 
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # Auto sharding algorithm name
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # 自动分片算法名称
 
-# Key generator strategy configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # Column name of key generator
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # Key generator name
+# 分布式序列策略配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # 分布式序列列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # 分布式序列算法名称
 
-spring.shardingsphere.rules.sharding.binding-tables[0]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[1]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[x]= # Binding table name
+spring.shardingsphere.rules.sharding.binding-tables[0]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[1]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[x]= # 绑定表规则列表
 
-spring.shardingsphere.rules.sharding.broadcast-tables[0]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[1]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[x]= # Broadcast tables
+spring.shardingsphere.rules.sharding.broadcast-tables[0]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[1]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[x]= # 广播表规则列表
 
-spring.shardingsphere.sharding.default-database-strategy.xxx= # Default strategy for database sharding
-spring.shardingsphere.sharding.default-table-strategy.xxx= # Default strategy for table sharding
-spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # Default Key generator strategy
+spring.shardingsphere.sharding.default-database-strategy.xxx= # 默认数据库分片策略
+spring.shardingsphere.sharding.default-table-strategy.xxx= # 默认表分片策略
+spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # 默认分布式序列策略
 
-# Sharding algorithm configuration
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # Sharding algorithm type
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# Sharding algorithm properties
+# 分片算法配置
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # 分片算法类型
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# 分片算法属性配置
 
-# Key generate algorithm configuration
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # Key generate algorithm type
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # Key generate algorithm properties
+# 分布式序列算法配置
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # 分布式序列算法类型
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # 分布式序列算法属性配置
 ```
 
-Please refer to [Built-in sharding Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/sharding) and [Built-in keygen Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/keygen)。
-
 ### 读写分离
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.primary-data-source-name= # Write data source name
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.replica-data-source-names= # Read data source names, multiple data source names separated with comma
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.load-balancer-name= # Load balance algorithm name
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.primary-data-source-name= # 主数据源名称
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.replica-data-source-names= # 从数据源名称,多个从数据源用逗号分隔
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.load-balancer-name= # 负载均衡算法名称
 
-# Load balance algorithm configuration
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.type= # Load balance algorithm type
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.props.xxx= # Load balance algorithm properties
+# 负载均衡算法配置
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.type= # 负载均衡算法类型
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.props.xxx= # 负载均衡算法属性配置
 ```
 
-Please refer to [Built-in Load Balance Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/load-balance) for more details about type of algorithm.
-
-### 加密
+### 数据加密
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # Cipher column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # Assisted query column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # Plain column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # Encrypt algorithm name
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # 加密列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # 查询列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # 原文列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # 加密算法名称
 
-# Encrypt algorithm configuration
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # Encrypt algorithm type
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # Encrypt algorithm properties
+# 加密算法配置
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # 加密算法类型
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # 加密算法属性配置
 ```
 
 ### 影子库
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.shadow.column= # Shadow column name
-spring.shardingsphere.rules.shadow.shadow-mappings.<product-data-source-name>= # Shadow data source name
+spring.shardingsphere.rules.shadow.column= # 影子字段名称名称

Review comment:
       > duplicate words `名称`
   
   @menghaoranss Has been updated, please review, thank you.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] menghaoranss commented on a change in pull request #13443: For #10983,Optimize change history of Spring Boot Starter Configuration.

Posted by GitBox <gi...@apache.org>.
menghaoranss commented on a change in pull request #13443:
URL: https://github.com/apache/shardingsphere/pull/13443#discussion_r741874774



##########
File path: docs/document/content/reference/api-change-history/shardingsphere-jdbc/spring-boot-starter.cn.md
##########
@@ -3,505 +3,420 @@ title = "Spring Boot Start 配置"
 weight = 4
 +++
 
-## 5.0.0-beta
+## 5.0.0-alpha
 
-### 分片
+### 数据分片
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-# Standard sharding table configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # Describe data source names and actual tables, delimiter as point, multiple data nodes separated with comma, support inline expression. Absent means sharding databases only.
+# 标准分片表配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # 由数据源名 + 表名组成,以小数点分隔。多个表以逗号分隔,支持 inline 表达式。缺省表示使用已知数据源与逻辑表名称生成数据节点,用于广播表(即每个库中都需要一个同样的表用于关联查询,多为字典表)或只分库不分表且所有库的表结构完全一致的情况
 
-# Databases sharding strategy, use default databases sharding strategy if absent. sharding strategy below can choose only one.
+# 分库策略,缺省表示使用默认分库策略,以下的分片策略只能选其一
 
-# For single sharding column scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于单分片键的标准分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# For multiple sharding columns scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # Sharding column names, multiple columns separated with comma
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于多分片键的复合分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # 分片列名称,多个列以逗号分隔
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Sharding by hint
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于Hint 的分片策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Tables sharding strategy, same as database sharding strategy
-spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # Omitted
+# 分表策略,同分库策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # 省略
 
-# Auto sharding table configuraiton
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # data source names
+# 自动分片表配置
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # 数据源名
 
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # Auto sharding algorithm name
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # 自动分片算法名称
 
-# Key generator strategy configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # Column name of key generator
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # Key generator name
+# 分布式序列策略配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # 分布式序列列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # 分布式序列算法名称
 
-spring.shardingsphere.rules.sharding.binding-tables[0]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[1]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[x]= # Binding table name
+spring.shardingsphere.rules.sharding.binding-tables[0]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[1]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[x]= # 绑定表规则列表
 
-spring.shardingsphere.rules.sharding.broadcast-tables[0]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[1]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[x]= # Broadcast tables
+spring.shardingsphere.rules.sharding.broadcast-tables[0]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[1]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[x]= # 广播表规则列表
 
-spring.shardingsphere.sharding.default-database-strategy.xxx= # Default strategy for database sharding
-spring.shardingsphere.sharding.default-table-strategy.xxx= # Default strategy for table sharding
-spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # Default Key generator strategy
+spring.shardingsphere.sharding.default-database-strategy.xxx= # 默认数据库分片策略
+spring.shardingsphere.sharding.default-table-strategy.xxx= # 默认表分片策略
+spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # 默认分布式序列策略
 
-# Sharding algorithm configuration
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # Sharding algorithm type
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# Sharding algorithm properties
+# 分片算法配置
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # 分片算法类型
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# 分片算法属性配置
 
-# Key generate algorithm configuration
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # Key generate algorithm type
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # Key generate algorithm properties
+# 分布式序列算法配置
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # 分布式序列算法类型
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # 分布式序列算法属性配置
 ```
 
-Please refer to [Built-in sharding Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/sharding) and [Built-in keygen Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/keygen)。
-
 ### 读写分离
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.primary-data-source-name= # Write data source name
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.replica-data-source-names= # Read data source names, multiple data source names separated with comma
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.load-balancer-name= # Load balance algorithm name
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.primary-data-source-name= # 主数据源名称
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.replica-data-source-names= # 从数据源名称,多个从数据源用逗号分隔
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.load-balancer-name= # 负载均衡算法名称
 
-# Load balance algorithm configuration
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.type= # Load balance algorithm type
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.props.xxx= # Load balance algorithm properties
+# 负载均衡算法配置
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.type= # 负载均衡算法类型
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.props.xxx= # 负载均衡算法属性配置
 ```
 
-Please refer to [Built-in Load Balance Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/load-balance) for more details about type of algorithm.
-
-### 加密
+### 数据加密
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # Cipher column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # Assisted query column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # Plain column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # Encrypt algorithm name
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # 加密列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # 查询列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # 原文列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # 加密算法名称
 
-# Encrypt algorithm configuration
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # Encrypt algorithm type
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # Encrypt algorithm properties
+# 加密算法配置
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # 加密算法类型
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # 加密算法属性配置
 ```
 
 ### 影子库
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.shadow.column= # Shadow column name
-spring.shardingsphere.rules.shadow.shadow-mappings.<product-data-source-name>= # Shadow data source name
+spring.shardingsphere.rules.shadow.column= # 影子字段名称名称

Review comment:
       duplicate words `名称`

##########
File path: docs/document/content/reference/api-change-history/shardingsphere-jdbc/spring-boot-starter.cn.md
##########
@@ -3,505 +3,420 @@ title = "Spring Boot Start 配置"
 weight = 4
 +++
 
-## 5.0.0-beta
+## 5.0.0-alpha
 
-### 分片
+### 数据分片
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-# Standard sharding table configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # Describe data source names and actual tables, delimiter as point, multiple data nodes separated with comma, support inline expression. Absent means sharding databases only.
+# 标准分片表配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # 由数据源名 + 表名组成,以小数点分隔。多个表以逗号分隔,支持 inline 表达式。缺省表示使用已知数据源与逻辑表名称生成数据节点,用于广播表(即每个库中都需要一个同样的表用于关联查询,多为字典表)或只分库不分表且所有库的表结构完全一致的情况
 
-# Databases sharding strategy, use default databases sharding strategy if absent. sharding strategy below can choose only one.
+# 分库策略,缺省表示使用默认分库策略,以下的分片策略只能选其一
 
-# For single sharding column scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于单分片键的标准分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# For multiple sharding columns scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # Sharding column names, multiple columns separated with comma
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于多分片键的复合分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # 分片列名称,多个列以逗号分隔
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Sharding by hint
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于Hint 的分片策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Tables sharding strategy, same as database sharding strategy
-spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # Omitted
+# 分表策略,同分库策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # 省略
 
-# Auto sharding table configuraiton
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # data source names
+# 自动分片表配置
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # 数据源名
 
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # Auto sharding algorithm name
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # 自动分片算法名称
 
-# Key generator strategy configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # Column name of key generator
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # Key generator name
+# 分布式序列策略配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # 分布式序列列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # 分布式序列算法名称
 
-spring.shardingsphere.rules.sharding.binding-tables[0]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[1]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[x]= # Binding table name
+spring.shardingsphere.rules.sharding.binding-tables[0]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[1]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[x]= # 绑定表规则列表
 
-spring.shardingsphere.rules.sharding.broadcast-tables[0]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[1]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[x]= # Broadcast tables
+spring.shardingsphere.rules.sharding.broadcast-tables[0]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[1]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[x]= # 广播表规则列表
 
-spring.shardingsphere.sharding.default-database-strategy.xxx= # Default strategy for database sharding
-spring.shardingsphere.sharding.default-table-strategy.xxx= # Default strategy for table sharding
-spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # Default Key generator strategy
+spring.shardingsphere.sharding.default-database-strategy.xxx= # 默认数据库分片策略
+spring.shardingsphere.sharding.default-table-strategy.xxx= # 默认表分片策略
+spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # 默认分布式序列策略
 
-# Sharding algorithm configuration
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # Sharding algorithm type
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# Sharding algorithm properties
+# 分片算法配置
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # 分片算法类型
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# 分片算法属性配置
 
-# Key generate algorithm configuration
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # Key generate algorithm type
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # Key generate algorithm properties
+# 分布式序列算法配置
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # 分布式序列算法类型
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # 分布式序列算法属性配置
 ```
 
-Please refer to [Built-in sharding Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/sharding) and [Built-in keygen Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/keygen)。
-
 ### 读写分离
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.primary-data-source-name= # Write data source name
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.replica-data-source-names= # Read data source names, multiple data source names separated with comma
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.load-balancer-name= # Load balance algorithm name
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.primary-data-source-name= # 主数据源名称
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.replica-data-source-names= # 从数据源名称,多个从数据源用逗号分隔
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.load-balancer-name= # 负载均衡算法名称
 
-# Load balance algorithm configuration
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.type= # Load balance algorithm type
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.props.xxx= # Load balance algorithm properties
+# 负载均衡算法配置
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.type= # 负载均衡算法类型
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.props.xxx= # 负载均衡算法属性配置
 ```
 
-Please refer to [Built-in Load Balance Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/load-balance) for more details about type of algorithm.
-
-### 加密
+### 数据加密
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # Cipher column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # Assisted query column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # Plain column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # Encrypt algorithm name
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # 加密列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # 查询列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # 原文列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # 加密算法名称
 
-# Encrypt algorithm configuration
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # Encrypt algorithm type
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # Encrypt algorithm properties
+# 加密算法配置
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # 加密算法类型
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # 加密算法属性配置
 ```
 
 ### 影子库
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.shadow.column= # Shadow column name
-spring.shardingsphere.rules.shadow.shadow-mappings.<product-data-source-name>= # Shadow data source name
+spring.shardingsphere.rules.shadow.column= # 影子字段名称名称

Review comment:
       duplicate words `名称`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] menghaoranss commented on a change in pull request #13443: For #10983,Optimize change history of Spring Boot Starter Configuration.

Posted by GitBox <gi...@apache.org>.
menghaoranss commented on a change in pull request #13443:
URL: https://github.com/apache/shardingsphere/pull/13443#discussion_r741874774



##########
File path: docs/document/content/reference/api-change-history/shardingsphere-jdbc/spring-boot-starter.cn.md
##########
@@ -3,505 +3,420 @@ title = "Spring Boot Start 配置"
 weight = 4
 +++
 
-## 5.0.0-beta
+## 5.0.0-alpha
 
-### 分片
+### 数据分片
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-# Standard sharding table configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # Describe data source names and actual tables, delimiter as point, multiple data nodes separated with comma, support inline expression. Absent means sharding databases only.
+# 标准分片表配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # 由数据源名 + 表名组成,以小数点分隔。多个表以逗号分隔,支持 inline 表达式。缺省表示使用已知数据源与逻辑表名称生成数据节点,用于广播表(即每个库中都需要一个同样的表用于关联查询,多为字典表)或只分库不分表且所有库的表结构完全一致的情况
 
-# Databases sharding strategy, use default databases sharding strategy if absent. sharding strategy below can choose only one.
+# 分库策略,缺省表示使用默认分库策略,以下的分片策略只能选其一
 
-# For single sharding column scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于单分片键的标准分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# For multiple sharding columns scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # Sharding column names, multiple columns separated with comma
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于多分片键的复合分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # 分片列名称,多个列以逗号分隔
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Sharding by hint
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于Hint 的分片策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Tables sharding strategy, same as database sharding strategy
-spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # Omitted
+# 分表策略,同分库策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # 省略
 
-# Auto sharding table configuraiton
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # data source names
+# 自动分片表配置
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # 数据源名
 
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # Auto sharding algorithm name
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # 自动分片算法名称
 
-# Key generator strategy configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # Column name of key generator
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # Key generator name
+# 分布式序列策略配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # 分布式序列列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # 分布式序列算法名称
 
-spring.shardingsphere.rules.sharding.binding-tables[0]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[1]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[x]= # Binding table name
+spring.shardingsphere.rules.sharding.binding-tables[0]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[1]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[x]= # 绑定表规则列表
 
-spring.shardingsphere.rules.sharding.broadcast-tables[0]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[1]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[x]= # Broadcast tables
+spring.shardingsphere.rules.sharding.broadcast-tables[0]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[1]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[x]= # 广播表规则列表
 
-spring.shardingsphere.sharding.default-database-strategy.xxx= # Default strategy for database sharding
-spring.shardingsphere.sharding.default-table-strategy.xxx= # Default strategy for table sharding
-spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # Default Key generator strategy
+spring.shardingsphere.sharding.default-database-strategy.xxx= # 默认数据库分片策略
+spring.shardingsphere.sharding.default-table-strategy.xxx= # 默认表分片策略
+spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # 默认分布式序列策略
 
-# Sharding algorithm configuration
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # Sharding algorithm type
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# Sharding algorithm properties
+# 分片算法配置
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # 分片算法类型
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# 分片算法属性配置
 
-# Key generate algorithm configuration
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # Key generate algorithm type
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # Key generate algorithm properties
+# 分布式序列算法配置
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # 分布式序列算法类型
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # 分布式序列算法属性配置
 ```
 
-Please refer to [Built-in sharding Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/sharding) and [Built-in keygen Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/keygen)。
-
 ### 读写分离
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.primary-data-source-name= # Write data source name
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.replica-data-source-names= # Read data source names, multiple data source names separated with comma
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.load-balancer-name= # Load balance algorithm name
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.primary-data-source-name= # 主数据源名称
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.replica-data-source-names= # 从数据源名称,多个从数据源用逗号分隔
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.load-balancer-name= # 负载均衡算法名称
 
-# Load balance algorithm configuration
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.type= # Load balance algorithm type
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.props.xxx= # Load balance algorithm properties
+# 负载均衡算法配置
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.type= # 负载均衡算法类型
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.props.xxx= # 负载均衡算法属性配置
 ```
 
-Please refer to [Built-in Load Balance Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/load-balance) for more details about type of algorithm.
-
-### 加密
+### 数据加密
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # Cipher column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # Assisted query column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # Plain column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # Encrypt algorithm name
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # 加密列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # 查询列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # 原文列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # 加密算法名称
 
-# Encrypt algorithm configuration
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # Encrypt algorithm type
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # Encrypt algorithm properties
+# 加密算法配置
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # 加密算法类型
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # 加密算法属性配置
 ```
 
 ### 影子库
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.shadow.column= # Shadow column name
-spring.shardingsphere.rules.shadow.shadow-mappings.<product-data-source-name>= # Shadow data source name
+spring.shardingsphere.rules.shadow.column= # 影子字段名称名称

Review comment:
       duplicate words `名称`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] menghaoranss merged pull request #13443: For #10983,Optimize change history of Spring Boot Starter Configuration.

Posted by GitBox <gi...@apache.org>.
menghaoranss merged pull request #13443:
URL: https://github.com/apache/shardingsphere/pull/13443






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] menghaoranss commented on a change in pull request #13443: For #10983,Optimize change history of Spring Boot Starter Configuration.

Posted by GitBox <gi...@apache.org>.
menghaoranss commented on a change in pull request #13443:
URL: https://github.com/apache/shardingsphere/pull/13443#discussion_r741874774



##########
File path: docs/document/content/reference/api-change-history/shardingsphere-jdbc/spring-boot-starter.cn.md
##########
@@ -3,505 +3,420 @@ title = "Spring Boot Start 配置"
 weight = 4
 +++
 
-## 5.0.0-beta
+## 5.0.0-alpha
 
-### 分片
+### 数据分片
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-# Standard sharding table configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # Describe data source names and actual tables, delimiter as point, multiple data nodes separated with comma, support inline expression. Absent means sharding databases only.
+# 标准分片表配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.actual-data-nodes= # 由数据源名 + 表名组成,以小数点分隔。多个表以逗号分隔,支持 inline 表达式。缺省表示使用已知数据源与逻辑表名称生成数据节点,用于广播表(即每个库中都需要一个同样的表用于关联查询,多为字典表)或只分库不分表且所有库的表结构完全一致的情况
 
-# Databases sharding strategy, use default databases sharding strategy if absent. sharding strategy below can choose only one.
+# 分库策略,缺省表示使用默认分库策略,以下的分片策略只能选其一
 
-# For single sharding column scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于单分片键的标准分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.standard.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# For multiple sharding columns scenario
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # Sharding column names, multiple columns separated with comma
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于多分片键的复合分片场景
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-columns= # 分片列名称,多个列以逗号分隔
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.complex.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Sharding by hint
-spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # Sharding algorithm name
+# 用于Hint 的分片策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.database-strategy.hint.<sharding-algorithm-name>.sharding-algorithm-name= # 分片算法名称
 
-# Tables sharding strategy, same as database sharding strategy
-spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # Omitted
+# 分表策略,同分库策略
+spring.shardingsphere.rules.sharding.tables.<table-name>.table-strategy.xxx= # 省略
 
-# Auto sharding table configuraiton
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # data source names
+# 自动分片表配置
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.actual-data-sources= # 数据源名
 
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # Sharding column name
-spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # Auto sharding algorithm name
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-column= # 分片列名称
+spring.shardingsphere.rules.sharding.auto-tables.<auto-table-name>.sharding-strategy.standard.sharding-algorithm= # 自动分片算法名称
 
-# Key generator strategy configuration
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # Column name of key generator
-spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # Key generator name
+# 分布式序列策略配置
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.column= # 分布式序列列名称
+spring.shardingsphere.rules.sharding.tables.<table-name>.key-generate-strategy.key-generator-name= # 分布式序列算法名称
 
-spring.shardingsphere.rules.sharding.binding-tables[0]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[1]= # Binding table name
-spring.shardingsphere.rules.sharding.binding-tables[x]= # Binding table name
+spring.shardingsphere.rules.sharding.binding-tables[0]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[1]= # 绑定表规则列表
+spring.shardingsphere.rules.sharding.binding-tables[x]= # 绑定表规则列表
 
-spring.shardingsphere.rules.sharding.broadcast-tables[0]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[1]= # Broadcast tables
-spring.shardingsphere.rules.sharding.broadcast-tables[x]= # Broadcast tables
+spring.shardingsphere.rules.sharding.broadcast-tables[0]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[1]= # 广播表规则列表
+spring.shardingsphere.rules.sharding.broadcast-tables[x]= # 广播表规则列表
 
-spring.shardingsphere.sharding.default-database-strategy.xxx= # Default strategy for database sharding
-spring.shardingsphere.sharding.default-table-strategy.xxx= # Default strategy for table sharding
-spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # Default Key generator strategy
+spring.shardingsphere.sharding.default-database-strategy.xxx= # 默认数据库分片策略
+spring.shardingsphere.sharding.default-table-strategy.xxx= # 默认表分片策略
+spring.shardingsphere.sharding.default-key-generate-strategy.xxx= # 默认分布式序列策略
 
-# Sharding algorithm configuration
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # Sharding algorithm type
-spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# Sharding algorithm properties
+# 分片算法配置
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.type= # 分片算法类型
+spring.shardingsphere.rules.sharding.sharding-algorithms.<sharding-algorithm-name>.props.xxx=# 分片算法属性配置
 
-# Key generate algorithm configuration
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # Key generate algorithm type
-spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # Key generate algorithm properties
+# 分布式序列算法配置
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.type= # 分布式序列算法类型
+spring.shardingsphere.rules.sharding.key-generators.<key-generate-algorithm-name>.props.xxx= # 分布式序列算法属性配置
 ```
 
-Please refer to [Built-in sharding Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/sharding) and [Built-in keygen Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/keygen)。
-
 ### 读写分离
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.primary-data-source-name= # Write data source name
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.replica-data-source-names= # Read data source names, multiple data source names separated with comma
-spring.shardingsphere.rules.readwrite-splitting.data-sources.<readwrite-splitting-data-source-name>.load-balancer-name= # Load balance algorithm name
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.primary-data-source-name= # 主数据源名称
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.replica-data-source-names= # 从数据源名称,多个从数据源用逗号分隔
+spring.shardingsphere.rules.replica-query.data-sources.<replica-query-data-source-name>.load-balancer-name= # 负载均衡算法名称
 
-# Load balance algorithm configuration
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.type= # Load balance algorithm type
-spring.shardingsphere.rules.readwrite-splitting.load-balancers.<load-balance-algorithm-name>.props.xxx= # Load balance algorithm properties
+# 负载均衡算法配置
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.type= # 负载均衡算法类型
+spring.shardingsphere.rules.replica-query.load-balancers.<load-balance-algorithm-name>.props.xxx= # 负载均衡算法属性配置
 ```
 
-Please refer to [Built-in Load Balance Algorithm List](/en/user-manual/shardingsphere-jdbc/configuration/built-in-algorithm/load-balance) for more details about type of algorithm.
-
-### 加密
+### 数据加密
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # Cipher column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # Assisted query column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # Plain column name
-spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # Encrypt algorithm name
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.cipher-column= # 加密列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.assisted-query-column= # 查询列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.plain-column= # 原文列名称
+spring.shardingsphere.rules.encrypt.tables.<table-name>.columns.<column-name>.encryptor-name= # 加密算法名称
 
-# Encrypt algorithm configuration
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # Encrypt algorithm type
-spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # Encrypt algorithm properties
+# 加密算法配置
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.type= # 加密算法类型
+spring.shardingsphere.rules.encrypt.encryptors.<encrypt-algorithm-name>.props.xxx= # 加密算法属性配置
 ```
 
 ### 影子库
 
 #### 配置项说明
 
 ```properties
-spring.shardingsphere.datasource.names= # Omit the data source configuration, please refer to the usage
+spring.shardingsphere.datasource.names= # 省略数据源配置
 
-spring.shardingsphere.rules.shadow.column= # Shadow column name
-spring.shardingsphere.rules.shadow.shadow-mappings.<product-data-source-name>= # Shadow data source name
+spring.shardingsphere.rules.shadow.column= # 影子字段名称名称

Review comment:
       duplicate words `名称`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org