From 278371bcb96c46f6f342da5efe23f85d976ce8bc Mon Sep 17 00:00:00 2001 From: Jiajie Zhong Date: Thu, 11 Aug 2022 09:46:43 +0800 Subject: [PATCH] [doc] Recover traffic configuration (#11288) some config about traffic is deleted by accident in #11113 this patch recover it --- docs/docs/en/architecture/configuration.md | 5 +++++ docs/docs/zh/architecture/configuration.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/docs/docs/en/architecture/configuration.md b/docs/docs/en/architecture/configuration.md index 2c8936a29d..aa15fb4651 100644 --- a/docs/docs/en/architecture/configuration.md +++ b/docs/docs/en/architecture/configuration.md @@ -243,6 +243,11 @@ Location: `api-server/conf/application.yaml` |security.authentication.ldap.password|password|LDAP password| |security.authentication.ldap.user.identity.attribute|uid|LDAP user identity attribute| |security.authentication.ldap.user.email.attribute|mail|LDAP user email attribute| +|traffic.control.global.switch|false|traffic control global switch| +|traffic.control.max-global-qps-rate|300|global max request number per second| +|traffic.control.tenant-switch|false|traffic control tenant switch| +|traffic.control.default-tenant-qps-rate|10|default tenant max request number per second| +|traffic.control.customize-tenant-qps-rate||customize tenant max request number per second| ### Master Server related configuration Location: `master-server/conf/application.yaml` diff --git a/docs/docs/zh/architecture/configuration.md b/docs/docs/zh/architecture/configuration.md index e40576bb60..1097b50786 100644 --- a/docs/docs/zh/architecture/configuration.md +++ b/docs/docs/zh/architecture/configuration.md @@ -231,6 +231,11 @@ common.properties配置文件目前主要是配置hadoop/s3/yarn相关的配置 |security.authentication.ldap.password|password|LDAP密码| |security.authentication.ldap.user.identity.attribute|uid|LDAP用户身份标识字段名| |security.authentication.ldap.user.email.attribute|mail|LDAP邮箱字段名| +|traffic.control.global.switch|false|流量控制全局开关| +|traffic.control.max-global-qps-rate|300|全局最大请求数/秒| +|traffic.control.tenant-switch|false|流量控制租户开关| +|traffic.control.default-tenant-qps-rate|10|默认租户最大请求数/秒限制| +|traffic.control.customize-tenant-qps-rate||自定义租户最大请求数/秒限制| ## Master Server相关配置 位置:`master-server/conf/application.yaml`