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 2022/04/24 14:49:30 UTC

[GitHub] [shardingsphere] terrymanu commented on a diff in pull request #17069: Update document for default proxy port configurable (#17003)

terrymanu commented on code in PR #17069:
URL: https://github.com/apache/shardingsphere/pull/17069#discussion_r857137720


##########
docs/document/content/user-manual/shardingsphere-proxy/yaml-config/props.cn.md:
##########
@@ -10,23 +10,24 @@ Apache ShardingSphere 提供属性配置的方式配置系统级配置。
 
 ## 配置项说明
 
-| *名称*                              | *数据类型* | *说明*                                                                                                                                                                          | *默认值*  | *动态生效* |             
-| ---------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |  -------- | 
-| sql-show (?)                       | boolean   | 是否在日志中打印 SQL。 <br /> 打印 SQL 可以帮助开发者快速定位系统问题。日志内容包含:逻辑 SQL,真实 SQL 和 SQL 解析结果。<br /> 如果开启配置,日志将使用 Topic `ShardingSphere-SQL`,日志级别是 INFO。 | false    | 是        |
-| sql-simple (?)                     | boolean   | 是否在日志中打印简单风格的 SQL。                                                                                                                                                    | false    | 是        |
-| kernel-executor-size (?)           | int       | 用于设置任务处理线程池的大小。每个 ShardingSphereDataSource 使用一个独立的线程池,同一个 JVM 的不同数据源不共享线程池。                                                                        | infinite | 否        |
-| max-connections-size-per-query (?) | int       | 一次查询请求在每个数据库实例中所能使用的最大连接数。                                                                                                                                     | 1        | 是       |
-| check-table-metadata-enabled (?)   | boolean   | 在程序启动和更新时,是否检查分片元数据的结构一致性。                                                                                                                                     | false    | 否       |
-| proxy-frontend-flush-threshold (?) | int       | 在 ShardingSphere-Proxy 中设置传输数据条数的 IO 刷新阈值。                                                                                                                           | 128      | 是       |
-| proxy-opentracing-enabled (?)      | boolean   | 是否允许在 ShardingSphere-Proxy 中使用 OpenTracing。                                                                                                                               | false    | 是      |
-| proxy-hint-enabled (?)             | boolean   | 是否允许在 ShardingSphere-Proxy 中使用 Hint。使用 Hint 会将 Proxy 的线程处理模型由 IO 多路复用变更为每个请求一个独立的线程,会降低 Proxy 的吞吐量。                                               | false    | 是      |
-| proxy-backend-query-fetch-size (?) | int       | Proxy 后端与数据库交互的每次获取数据行数(使用游标的情况下)。数值增大可能会增加 ShardingSphere Proxy 的内存使用。默认值为 -1,代表设置为 JDBC 驱动的最小值。                                          | -1       | 否      |
-| check-duplicate-table-enabled (?)  | boolean   | 在程序启动和更新时,是否检查重复表。                                                                                                                                                   | false    | 否      |
-| proxy-frontend-executor-size (?)   | int       | Proxy 前端 Netty 线程池线程数量,默认值 0 代表使用 Netty 默认值。                                                                                                                       | 0        | 否      |
-| proxy-backend-executor-suitable (?)| String    | 可选选项:OLAP、OLTP。OLTP 选项可能会减少向客户端写入数据包的时间开销,但如果客户端连接数超过 `proxy-frontend-executor-size`,尤其是执行慢 SQL 时,它可能会增加 SQL 执行的延迟甚至阻塞其他客户端的连接。    | OLAP     | 否      |
-| proxy-frontend-max-connections (?) | int       | 允许连接 Proxy 的最大客户端数量,默认值 0 代表不限制。                                                                                                                                  | 0        | 是      |
-| sql-federation-enabled (?)         | boolean   | 是否开启 federation 查询。                                                                                                                                                         | false    | 是      |
-| show-process-list-enabled (?)      | boolean   | 是否开启 processlist 功能,同时仅在 Cluster 模式生效。功能和 MySQL show processlist 类似。目前只对 DDL 和 DML 语句生效。                                                                   | false    | 是      |
+| *名称*                                | *数据类型*     | *说明*                                                                                                                                   | *默认值*    | *动态生效* |             
+|-------------------------------------|------------|----------------------------------------------------------------------------------------------------------------------------------------|----------|--------| 
+| sql-show (?)                        | boolean    | 是否在日志中打印 SQL。 <br /> 打印 SQL 可以帮助开发者快速定位系统问题。日志内容包含:逻辑 SQL,真实 SQL 和 SQL 解析结果。<br /> 如果开启配置,日志将使用 Topic `ShardingSphere-SQL`,日志级别是 INFO。 | false    | 是      |
+| sql-simple (?)                      | boolean    | 是否在日志中打印简单风格的 SQL。                                                                                                                     | false    | 是      |
+| kernel-executor-size (?)            | int        | 用于设置任务处理线程池的大小。每个 ShardingSphereDataSource 使用一个独立的线程池,同一个 JVM 的不同数据源不共享线程池。                                                            | infinite | 否      |
+| max-connections-size-per-query (?)  | int        | 一次查询请求在每个数据库实例中所能使用的最大连接数。                                                                                                             | 1        | 是      |
+| check-table-metadata-enabled (?)    | boolean    | 在程序启动和更新时,是否检查分片元数据的结构一致性。                                                                                                             | false    | 否      |
+| proxy-frontend-flush-threshold (?)  | int        | 在 ShardingSphere-Proxy 中设置传输数据条数的 IO 刷新阈值。                                                                                             | 128      | 是      |
+| proxy-opentracing-enabled (?)       | boolean    | 是否允许在 ShardingSphere-Proxy 中使用 OpenTracing。                                                                                            | false    | 是      |
+| proxy-hint-enabled (?)              | boolean    | 是否允许在 ShardingSphere-Proxy 中使用 Hint。使用 Hint 会将 Proxy 的线程处理模型由 IO 多路复用变更为每个请求一个独立的线程,会降低 Proxy 的吞吐量。                                    | false    | 是      |
+| proxy-backend-query-fetch-size (?)  | int        | Proxy 后端与数据库交互的每次获取数据行数(使用游标的情况下)。数值增大可能会增加 ShardingSphere Proxy 的内存使用。默认值为 -1,代表设置为 JDBC 驱动的最小值。                                      | -1       | 否      |
+| check-duplicate-table-enabled (?)   | boolean    | 在程序启动和更新时,是否检查重复表。                                                                                                                     | false    | 否      |
+| proxy-frontend-executor-size (?)    | int        | Proxy 前端 Netty 线程池线程数量,默认值 0 代表使用 Netty 默认值。                                                                                           | 0        | 否      |
+| proxy-backend-executor-suitable (?) | String     | 可选选项:OLAP、OLTP。OLTP 选项可能会减少向客户端写入数据包的时间开销,但如果客户端连接数超过 `proxy-frontend-executor-size`,尤其是执行慢 SQL 时,它可能会增加 SQL 执行的延迟甚至阻塞其他客户端的连接。        | OLAP     | 否      |
+| proxy-frontend-max-connections (?)  | int        | 允许连接 Proxy 的最大客户端数量,默认值 0 代表不限制。                                                                                                       | 0        | 是      |
+| sql-federation-enabled (?)          | boolean    | 是否开启 federation 查询。                                                                                                                    | false    | 是      |
+| show-process-list-enabled (?)       | boolean    | 是否开启 processlist 功能,同时仅在 Cluster 模式生效。功能和 MySQL show processlist 类似。目前只对 DDL 和 DML 语句生效。                                               | false    | 是      |
+| proxy-default-port (?)              | String     | Proxy通过配置文件指定默认端口。                                                                                                                     | 3307     | 否      |

Review Comment:
   Please keep a space between English and Chinese 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