|
|
@@ -3,10 +3,10 @@ emqx_schema {
|
|
|
force_shutdown_enable {
|
|
|
desc {
|
|
|
en: "Enable `force_shutdown` feature."
|
|
|
- zh: "启用 `force_shutdown` 功能"
|
|
|
+ zh: "启用 `force_shutdown` 功能。"
|
|
|
}
|
|
|
label {
|
|
|
- en: "Enable `force_shutdown` feature."
|
|
|
+ en: "Enable `force_shutdown` feature"
|
|
|
zh: "启用 `force_shutdown` 功能"
|
|
|
}
|
|
|
}
|
|
|
@@ -14,7 +14,7 @@ emqx_schema {
|
|
|
force_shutdown_max_message_queue_len {
|
|
|
desc {
|
|
|
en: "Maximum message queue length."
|
|
|
- zh: "消息队列的最大长度"
|
|
|
+ zh: "消息队列的最大长度。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Maximum mailbox queue length of process."
|
|
|
@@ -25,7 +25,7 @@ emqx_schema {
|
|
|
force_shutdown_max_heap_size {
|
|
|
desc {
|
|
|
en: "Total heap size"
|
|
|
- zh: "Heap 的总大小"
|
|
|
+ zh: "Heap 的总大小。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Total heap size"
|
|
|
@@ -35,8 +35,8 @@ emqx_schema {
|
|
|
|
|
|
overload_protection_enable {
|
|
|
desc {
|
|
|
- en: "React on system overload or not"
|
|
|
- zh: "是否对系统过载做出反应"
|
|
|
+ en: "React on system overload or not."
|
|
|
+ zh: "是否对系统过载做出反应。"
|
|
|
}
|
|
|
label {
|
|
|
en: "React on system overload or not"
|
|
|
@@ -46,9 +46,8 @@ emqx_schema {
|
|
|
|
|
|
overload_protection_backoff_delay {
|
|
|
desc {
|
|
|
- en: "Some unimportant tasks could be delayed "
|
|
|
- "for execution, here set the delays in ms"
|
|
|
- zh: "一些不重要的任务可能会延迟执行,以毫秒为单位设置延迟"
|
|
|
+ en: "When at high load, some unimportant tasks could be delayed for execution, here set the duration in milliseconds precision."
|
|
|
+ zh: "高负载时,一些不重要的任务可能会延迟执行,在这里设置允许延迟的时间。单位为毫秒。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Delay Time"
|
|
|
@@ -58,8 +57,8 @@ emqx_schema {
|
|
|
|
|
|
overload_protection_backoff_gc {
|
|
|
desc {
|
|
|
- en: "Skip forceful GC if necessary"
|
|
|
- zh: "如有必要,跳过强制GC"
|
|
|
+ en: "When at high load, skip forceful GC."
|
|
|
+ zh: "高负载时,跳过强制 GC。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Skip GC"
|
|
|
@@ -69,8 +68,8 @@ emqx_schema {
|
|
|
|
|
|
overload_protection_backoff_hibernation {
|
|
|
desc {
|
|
|
- en: "Skip process hibernation if necessary"
|
|
|
- zh: "如有必要,跳过进程休眠"
|
|
|
+ en: "When at high load, skip process hibernation."
|
|
|
+ zh: "高负载时,跳过进程休眠。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Skip hibernation"
|
|
|
@@ -80,8 +79,8 @@ emqx_schema {
|
|
|
|
|
|
overload_protection_backoff_new_conn {
|
|
|
desc {
|
|
|
- en: "Close new incoming connections if necessary"
|
|
|
- zh: "如有必要,关闭新进来的连接"
|
|
|
+ en: "When at high load, close new incoming connections."
|
|
|
+ zh: "高负载时,拒绝新进来的客户端连接。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Close new connections"
|
|
|
@@ -92,7 +91,7 @@ emqx_schema {
|
|
|
conn_congestion_enable_alarm {
|
|
|
desc {
|
|
|
en: "Enable or disable connection congestion alarm."
|
|
|
- zh: "启用或者禁用连接阻塞告警功能"
|
|
|
+ zh: "启用或者禁用连接阻塞告警功能。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Enable/disable congestion alarm"
|
|
|
@@ -102,14 +101,14 @@ emqx_schema {
|
|
|
|
|
|
conn_congestion_min_alarm_sustain_duration {
|
|
|
desc {
|
|
|
- en: "Minimal time before clearing the alarm.\n\n"
|
|
|
- "The alarm is cleared only when there's no pending data in\n"
|
|
|
- "the queue, and at least `min_alarm_sustain_duration`\n"
|
|
|
- "milliseconds passed since the last time we considered the connection \"congested\".\n\n"
|
|
|
+ en: "Minimal time before clearing the alarm.<br/>"
|
|
|
+ "The alarm is cleared only when there's no pending data in<br/>"
|
|
|
+ "the queue, and at least <code>min_alarm_sustain_duration</code>"
|
|
|
+ "milliseconds passed since the last time we considered the connection 'congested'.<br/>"
|
|
|
"This is to avoid clearing and raising the alarm again too often."
|
|
|
- zh: "清除警报前的最短时间。\n\n"
|
|
|
- "只有当队列中没有挂起的数据,并且连接至少被堵塞了 \"min_alarm_sustain_duration\" 毫秒时,\n"
|
|
|
- "报警才会被清除。这是为了避免太频繁地清除和再次发出警报."
|
|
|
+ zh: "清除警报前的最短时间。<br/>"
|
|
|
+ "只有当队列中没有挂起的数据,并且连接至少被堵塞了 <code>min_alarm_sustain_duration</code> 毫秒时,</br>"
|
|
|
+ "报警才会被清除。这是为了避免太频繁地清除和再次发出警报。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Sustain duration"
|
|
|
@@ -120,10 +119,10 @@ emqx_schema {
|
|
|
force_gc_enable {
|
|
|
desc {
|
|
|
en: "Enable forced garbage collection."
|
|
|
- zh: "启用强制垃圾回收"
|
|
|
+ zh: "启用强制垃圾回收。"
|
|
|
}
|
|
|
label {
|
|
|
- en: "Enable forced garbage collection."
|
|
|
+ en: "Enable forced garbage collection"
|
|
|
zh: "启用强制垃圾回收"
|
|
|
}
|
|
|
}
|
|
|
@@ -131,7 +130,7 @@ emqx_schema {
|
|
|
force_gc_count {
|
|
|
desc {
|
|
|
en: "GC the process after this many received messages."
|
|
|
- zh: "在进程收到多少消息之后,对此进程执行垃圾回收"
|
|
|
+ zh: "在进程收到多少消息之后,对此进程执行垃圾回收。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Process GC messages num"
|
|
|
@@ -142,7 +141,7 @@ emqx_schema {
|
|
|
force_gc_bytes {
|
|
|
desc {
|
|
|
en: "GC the process after specified number of bytes have passed through."
|
|
|
- zh: "在进程处理过多少个字节之后,对此进程执行垃圾回收"
|
|
|
+ zh: "在进程处理过多少个字节之后,对此进程执行垃圾回收。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Process GC bytes"
|
|
|
@@ -190,7 +189,7 @@ emqx_schema {
|
|
|
sysmon_vm_long_gc {
|
|
|
desc {
|
|
|
en: "Enable Long GC monitoring."
|
|
|
- zh: "启用长垃圾回收监控"
|
|
|
+ zh: "启用长垃圾回收监控。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Enable Long GC monitoring."
|
|
|
@@ -201,7 +200,7 @@ emqx_schema {
|
|
|
sysmon_vm_long_schedule {
|
|
|
desc {
|
|
|
en: "Enable Long Schedule monitoring."
|
|
|
- zh: "启用长调度监控"
|
|
|
+ zh: "启用长调度监控。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Enable Long Schedule monitoring."
|
|
|
@@ -212,7 +211,7 @@ emqx_schema {
|
|
|
sysmon_vm_large_heap {
|
|
|
desc {
|
|
|
en: "Enable Large Heap monitoring."
|
|
|
- zh: "启用大 heap 监控"
|
|
|
+ zh: "启用大 heap 监控。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Enable Large Heap monitoring."
|
|
|
@@ -223,7 +222,7 @@ emqx_schema {
|
|
|
sysmon_vm_busy_dist_port {
|
|
|
desc {
|
|
|
en: "Enable Busy Distribution Port monitoring."
|
|
|
- zh: "启用分布式端口过忙监控"
|
|
|
+ zh: "启用分布式端口过忙监控。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Enable Busy Distribution Port monitoring."
|
|
|
@@ -234,7 +233,7 @@ emqx_schema {
|
|
|
sysmon_vm_busy_port {
|
|
|
desc {
|
|
|
en: "Enable Busy Port monitoring."
|
|
|
- zh: "启用端口过忙监控"
|
|
|
+ zh: "启用端口过忙监控。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Enable Busy Port monitoring."
|
|
|
@@ -316,7 +315,7 @@ emqx_schema {
|
|
|
sysmon_top_num_items {
|
|
|
desc {
|
|
|
en: "The number of top processes per monitoring group"
|
|
|
- zh: "每个监视组的顶级进程数"
|
|
|
+ zh: "每个监视组的顶级进程数。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Top num items"
|
|
|
@@ -327,7 +326,7 @@ emqx_schema {
|
|
|
sysmon_top_sample_interval {
|
|
|
desc {
|
|
|
en: "Specifies how often process top should be collected"
|
|
|
- zh: "指定应收集进程顶部的频率"
|
|
|
+ zh: "指定应收集进程顶部的频率。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Top sample interval"
|
|
|
@@ -339,7 +338,7 @@ emqx_schema {
|
|
|
desc {
|
|
|
en: "Stop collecting data when the number of processes\n"
|
|
|
"in the VM exceeds this value"
|
|
|
- zh: "当VM中的进程数超过此值时,停止收集数据"
|
|
|
+ zh: "当 VM 中的进程数超过此值时,停止收集数据。"
|
|
|
}
|
|
|
label {
|
|
|
en: "Max procs"
|
|
|
@@ -350,7 +349,7 @@ emqx_schema {
|
|
|
sysmon_top_db_hostname {
|
|
|
desc {
|
|
|
en: "Hostname of the PostgreSQL database that collects the data points"
|
|
|
- zh: "收集数据点的 PostgreSQL 数据库的主机名"
|
|
|
+ zh: "收集数据点的 PostgreSQL 数据库的主机名。"
|
|
|
}
|
|
|
label {
|
|
|
en: "DB Hostname"
|
|
|
@@ -360,8 +359,8 @@ emqx_schema {
|
|
|
|
|
|
sysmon_top_db_port {
|
|
|
desc {
|
|
|
- en: "Port of the PostgreSQL database that collects the data points"
|
|
|
- zh: "收集数据点的 PostgreSQL 数据库的端口"
|
|
|
+ en: "Port of the PostgreSQL database that collects the data points."
|
|
|
+ zh: "收集数据点的 PostgreSQL 数据库的端口。"
|
|
|
}
|
|
|
label {
|
|
|
en: "DB Port"
|
|
|
@@ -454,7 +453,7 @@ emqx_schema {
|
|
|
flapping_detect_enable {
|
|
|
desc {
|
|
|
en: "Enable flapping connection detection feature."
|
|
|
- zh: "启用抖动检测功能"
|
|
|
+ zh: "启用抖动检测功能。"
|
|
|
}
|
|
|
label: {
|
|
|
en: "Enable flapping detection"
|
|
|
@@ -465,7 +464,7 @@ emqx_schema {
|
|
|
flapping_detect_max_count {
|
|
|
desc {
|
|
|
en: "The maximum number of disconnects allowed for a MQTT Client in `window_time`"
|
|
|
- zh: "MQTT 客户端在\"窗口\"时间内允许的最大断开次数"
|
|
|
+ zh: "MQTT 客户端在“窗口”时间内允许的最大断开次数。"
|
|
|
}
|
|
|
label: {
|
|
|
en: "Max count"
|
|
|
@@ -487,11 +486,11 @@ emqx_schema {
|
|
|
flapping_detect_ban_time {
|
|
|
desc {
|
|
|
en: "How long the flapping clientid will be banned."
|
|
|
- zh: "抖动的客户端将会被禁止登陆多长时间"
|
|
|
+ zh: "抖动的客户端将会被禁止登录多长时间。"
|
|
|
}
|
|
|
label: {
|
|
|
en: "Ban time"
|
|
|
- zh: "禁止登陆时长"
|
|
|
+ zh: "禁止登录时长"
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -605,7 +604,7 @@ emqx_schema {
|
|
|
persistent_session_builtin_session_table {
|
|
|
desc {
|
|
|
en: "Performance tuning options for built-in session table."
|
|
|
- zh: "用于内建会话表的性能调优参数"
|
|
|
+ zh: "用于内建会话表的性能调优参数。"
|
|
|
}
|
|
|
label: {
|
|
|
en: "Persistent session"
|
|
|
@@ -627,7 +626,7 @@ emqx_schema {
|
|
|
persistent_session_builtin_messages_table {
|
|
|
desc {
|
|
|
en: "Performance tuning options for built-in messages table."
|
|
|
- zh: "用于内建消息表的性能调优参数"
|
|
|
+ zh: "用于内建消息表的性能调优参数。"
|
|
|
}
|
|
|
label: {
|
|
|
en: "Persistent messages"
|
|
|
@@ -638,7 +637,7 @@ emqx_schema {
|
|
|
stats_enable {
|
|
|
desc {
|
|
|
en: "Enable/disable statistic data collection."
|
|
|
- zh: "启用/禁用统计数据收集功能"
|
|
|
+ zh: "启用/禁用统计数据收集功能。"
|
|
|
}
|
|
|
label: {
|
|
|
en: "Enable/disable statistic data collection."
|
|
|
@@ -780,8 +779,8 @@ mqtt 下所有的配置作为全局的默认值存在,它可以被 <code>zone<
|
|
|
|
|
|
mqtt_ignore_loop_deliver {
|
|
|
desc {
|
|
|
- en: """Ignore loop delivery of messages for MQTT v3.1.1/v3.1.0, similar to <code>No Local</code> subscription option in MQTT 5.0"""
|
|
|
- zh: """是否为 MQTT v3.1.1/v3.1.0 客户端忽略投递自己发布的消息,类似于 MQTT 5.0 中的 <code>No Local</code> 订阅选项"""
|
|
|
+ en: """Ignore loop delivery of messages for MQTT v3.1.1/v3.1.0, similar to <code>No Local</code> subscription option in MQTT 5.0."""
|
|
|
+ zh: """是否为 MQTT v3.1.1/v3.1.0 客户端忽略投递自己发布的消息,类似于 MQTT 5.0 中的 <code>No Local</code> 订阅选项。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: """Ignore Loop Deliver"""
|
|
|
@@ -1000,7 +999,7 @@ Supported configurations are the following:
|
|
|
- <code>pem</code>: Convert <code>DER</code> certificate content to <code>PEM</code> format as Username
|
|
|
- <code>md5</code>: Take the MD5 value of the content of the <code>DER</code> or <code>PEM</code> certificate as Username
|
|
|
"""
|
|
|
- zh: """使用对端证书中的 CN, DN 字段或整个证书内容来作为用户名。仅适用于 TLS 连接。
|
|
|
+ zh: """使用对端证书中的 CN、DN 字段或整个证书内容来作为用户名。仅适用于 TLS 连接。
|
|
|
目前支持配置为以下内容:
|
|
|
- <code>cn</code>: 取证书的 CN 字段作为 Username
|
|
|
- <code>dn</code>: 取证书的 DN 字段作为 Username
|
|
|
@@ -1025,7 +1024,7 @@ Supported configurations are the following:
|
|
|
- <code>pem</code>: Convert <code>DER</code> certificate content to <code>PEM</code> format as Client ID
|
|
|
- <code>md5</code>: Take the MD5 value of the content of the <code>DER</code> or <code>PEM</code> certificate as Client ID
|
|
|
"""
|
|
|
- zh: """使用对端证书中的 CN, DN 字段或整个证书内容来作为客户端 ID。仅适用于 TLS 连接。
|
|
|
+ zh: """使用对端证书中的 CN、DN 字段或整个证书内容来作为客户端 ID。仅适用于 TLS 连接。
|
|
|
目前支持配置为以下内容:
|
|
|
- <code>cn</code>: 取证书的 CN 字段作为 Client ID
|
|
|
- <code>dn</code>: 取证书的 DN 字段作为 Client ID
|
|
|
@@ -1064,10 +1063,10 @@ Supported configurations are the following:
|
|
|
"""
|
|
|
|
|
|
zh: """Session 在集群中的锁策略。
|
|
|
- - `loca`: 仅锁本节点的 Session
|
|
|
- - `one`: 任选一个其它节点加锁
|
|
|
- - `quorum`: 选择集群中半数以上的节点加锁
|
|
|
- - `all`: 选择所有节点加锁
|
|
|
+ - `loca`:仅锁本节点的 Session;
|
|
|
+ - `one`:任选一个其它节点加锁;
|
|
|
+ - `quorum`:选择集群中半数以上的节点加锁;
|
|
|
+ - `all`:选择所有节点加锁。
|
|
|
"""
|
|
|
}
|
|
|
}
|
|
|
@@ -1082,10 +1081,10 @@ Supported configurations are the following:
|
|
|
"""
|
|
|
|
|
|
zh: """共享订阅消息派发策略。
|
|
|
- - `random`: 随机挑选一个共享订阅者派发
|
|
|
- - `round_robin`: 使用 round-robin 策略派发
|
|
|
- - `sticky`: 总是使用上次选中的订阅者派发,直到它断开连接
|
|
|
- - `hash`: 使用发送者的 Client ID 进行 Hash 来选择订阅者
|
|
|
+ - `random`:随机挑选一个共享订阅者派发;
|
|
|
+ - `round_robin`:使用 round-robin 策略派发;
|
|
|
+ - `sticky`:总是使用上次选中的订阅者派发,直到它断开连接;
|
|
|
+ - `hash`:使用发送者的 Client ID 进行 Hash 来选择订阅者。
|
|
|
"""
|
|
|
}
|
|
|
}
|
|
|
@@ -1136,13 +1135,12 @@ until the subscriber disconnects.
|
|
|
subscriber was not found, send to a random subscriber cluster-wide
|
|
|
"""
|
|
|
cn: """共享订阅的分发策略名称。
|
|
|
-- `random`: 随机选择一个组内成员;
|
|
|
-- `round_robin`: 循环选择下一个成员;
|
|
|
-- `round_robin_per_group`: 在共享组内循环选择下一个成员;
|
|
|
-- `sticky`: 使用上一次选中的成员;
|
|
|
-- `hash`: 根据 ClientID 哈希映射到一个成员;
|
|
|
-- `local`: 随机分发到节点本地成成员,如果本地成员不存在,则随机分发
|
|
|
-到任意一个成员。
|
|
|
+- `random`:随机选择一个组内成员;
|
|
|
+- `round_robin`:循环选择下一个成员;
|
|
|
+- `round_robin_per_group`:在共享组内循环选择下一个成员;
|
|
|
+- `sticky`:使用上一次选中的成员;
|
|
|
+- `hash`:根据 ClientID 哈希映射到一个成员;
|
|
|
+- `local`:随机分发到节点本地成成员,如果本地成员不存在,则随机分发到任意一个成员。
|
|
|
"""
|
|
|
|
|
|
}
|
|
|
@@ -1162,9 +1160,9 @@ NOTE: when changing from/to `global` lock, it requires all nodes in the cluster
|
|
|
建议仅当通配符主题较多时才更改此参数。
|
|
|
|
|
|
注:当从/更改为 `global` 锁时,它要求集群中的所有节点在更改之前停止。
|
|
|
- - `key`: 为 Mnesia 事务涉及到的每个 key 上锁,建议单节点时使用。
|
|
|
- - `tab`: 为 Mnesia 事务涉及到的表上锁,建议在集群中使用。
|
|
|
- - `global`: 所以更新操作都被全局的锁保护,仅建议在超大规模集群中使用。
|
|
|
+ - `key`:为 Mnesia 事务涉及到的每个 key 上锁,建议单节点时使用。
|
|
|
+ - `tab`:为 Mnesia 事务涉及到的表上锁,建议在集群中使用。
|
|
|
+ - `global`:所以更新操作都被全局的锁保护,仅建议在超大规模集群中使用。
|
|
|
"""
|
|
|
}
|
|
|
}
|
|
|
@@ -1215,8 +1213,8 @@ NOTE: This is a cluster-wide configuration. It requires all nodes to be stopped
|
|
|
|
|
|
sys_event_messages {
|
|
|
desc {
|
|
|
- en: """Client events messages"""
|
|
|
- zh: """客户端事件消息"""
|
|
|
+ en: """Client events messages."""
|
|
|
+ zh: """客户端事件消息。"""
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -1271,12 +1269,8 @@ Find more details in 'authorization.sources' config.
|
|
|
|
|
|
fields_authorization_deny_action {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-The action when the authorization check rejects an operation.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-授权检查拒绝操作时的操作。
|
|
|
-"""
|
|
|
+ en: """The action when the authorization check rejects an operation."""
|
|
|
+ zh: """授权检查拒绝操作时的操作。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Authorization deny action"
|
|
|
@@ -1286,12 +1280,8 @@ The action when the authorization check rejects an operation.
|
|
|
|
|
|
fields_cache_enable {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Enable or disable the authorization cache.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-启用或禁用授权缓存。
|
|
|
-"""
|
|
|
+ en: """Enable or disable the authorization cache."""
|
|
|
+ zh: """启用或禁用授权缓存。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Enable or disable the authorization cache."
|
|
|
@@ -1301,12 +1291,8 @@ Enable or disable the authorization cache.
|
|
|
|
|
|
fields_cache_max_size {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Maximum number of cached items.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-缓存项的最大数量。
|
|
|
-"""
|
|
|
+ en: """Maximum number of cached items."""
|
|
|
+ zh: """缓存项的最大数量。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Maximum number of cached items."
|
|
|
@@ -1316,12 +1302,8 @@ Maximum number of cached items.
|
|
|
|
|
|
fields_cache_ttl {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Time to live for the cached data.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-缓存数据的生存时间。
|
|
|
-"""
|
|
|
+ en: """Time to live for the cached data. """
|
|
|
+ zh: """缓存数据的生存时间。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Time to live for the cached data."
|
|
|
@@ -1331,9 +1313,7 @@ Time to live for the cached data.
|
|
|
|
|
|
fields_deflate_opts_level {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Compression level.
|
|
|
-"""
|
|
|
+ en: """Compression level. """
|
|
|
zh: """压缩级别"""
|
|
|
}
|
|
|
label: {
|
|
|
@@ -1361,12 +1341,8 @@ Lower values decrease memory usage per connection.
|
|
|
|
|
|
fields_deflate_opts_strategy {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Specifies the compression strategy.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-指定压缩策略。
|
|
|
-"""
|
|
|
+ en: """Specifies the compression strategy."""
|
|
|
+ zh: """指定压缩策略。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "compression strategy"
|
|
|
@@ -1376,9 +1352,7 @@ Specifies the compression strategy.
|
|
|
|
|
|
fields_deflate_opts_server_context_takeover {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Takeover means the compression state is retained between server messages.
|
|
|
-"""
|
|
|
+ en: """Takeover means the compression state is retained between server messages. """
|
|
|
zh: """接管意味着在服务器消息之间保留压缩状态。"""
|
|
|
}
|
|
|
label: {
|
|
|
@@ -1389,12 +1363,8 @@ Takeover means the compression state is retained between server messages.
|
|
|
|
|
|
fields_deflate_opts_client_context_takeover {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Takeover means the compression state is retained between client messages.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-接管意味着在客户端消息之间保留压缩状态。
|
|
|
-"""
|
|
|
+ en: """Takeover means the compression state is retained between client messages. """
|
|
|
+ zh: """接管意味着在客户端消息之间保留压缩状态。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Client context takeover"
|
|
|
@@ -1404,12 +1374,8 @@ Takeover means the compression state is retained between client messages.
|
|
|
|
|
|
fields_deflate_opts_server_max_window_bits {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Specifies the size of the compression context for the server.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-指定服务器压缩上下文的大小。
|
|
|
-"""
|
|
|
+ en: """Specifies the size of the compression context for the server."""
|
|
|
+ zh: """指定服务器压缩上下文的大小。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Server compression max window size"
|
|
|
@@ -1419,12 +1385,8 @@ Specifies the size of the compression context for the server.
|
|
|
|
|
|
fields_deflate_opts_client_max_window_bits {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Specifies the size of the compression context for the client.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-指定客户端压缩上下文的大小。
|
|
|
-"""
|
|
|
+ en: """Specifies the size of the compression context for the client."""
|
|
|
+ zh: """指定客户端压缩上下文的大小。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Client compression max window size"
|
|
|
@@ -1434,10 +1396,8 @@ Specifies the size of the compression context for the client.
|
|
|
|
|
|
client_ssl_opts_schema_enable {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Enable TLS.
|
|
|
-"""
|
|
|
- zh: """启用 TLS"""
|
|
|
+ en: """Enable TLS. """
|
|
|
+ zh: """启用 TLS。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Enable TLS."
|
|
|
@@ -1495,12 +1455,8 @@ PEM格式证书链文件</br>
|
|
|
|
|
|
common_ssl_opts_schema_keyfile {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-PEM format private key file.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-PEM格式的私钥文件。
|
|
|
-"""
|
|
|
+ en: """PEM format private key file. """
|
|
|
+ zh: """PEM格式的私钥文件。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Keyfile"
|
|
|
@@ -1510,12 +1466,8 @@ PEM格式的私钥文件。
|
|
|
|
|
|
common_ssl_opts_schema_verify {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Enable or disable peer verification.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-启用或禁用对等验证。
|
|
|
-"""
|
|
|
+ en: """Enable or disable peer verification. """
|
|
|
+ zh: """启用或禁用对等验证。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Verify peer"
|
|
|
@@ -1525,12 +1477,8 @@ Enable or disable peer verification.
|
|
|
|
|
|
common_ssl_opts_schema_reuse_sessions {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Enable TLS session reuse.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-启用 TLS 会话重用。
|
|
|
-"""
|
|
|
+ en: """Enable TLS session reuse. """
|
|
|
+ zh: """启用 TLS 会话重用。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "TLS session reuse"
|
|
|
@@ -1541,7 +1489,8 @@ Enable TLS session reuse.
|
|
|
common_ssl_opts_schema_depth {
|
|
|
desc {
|
|
|
en: """
|
|
|
-Maximum number of non-self-issued intermediate certificates that can follow the peer certificate in a valid certification path. So, if depth is 0 the PEER must be signed by the trusted ROOT-CA directly; if 1 the path can be PEER, CA, ROOT-CA; if 2 the path can be PEER, CA, CA, ROOT-CA, and so on. The default value is 10.
|
|
|
+Maximum number of non-self-issued intermediate certificates that can follow the peer certificate in a valid certification path.
|
|
|
+So, if depth is 0 the PEER must be signed by the trusted ROOT-CA directly; if 1 the path can be PEER, CA, ROOT-CA; if 2 the path can be PEER, CA, CA, ROOT-CA, and so on. The default value is 10.
|
|
|
"""
|
|
|
zh: """
|
|
|
在有效的证书路径中,可以跟随对等证书的非自颁发中间证书的最大数量。因此,如果深度为0,则对等方必须由受信任的根CA直接签名;如果1,路径可以是PEER、CA、ROOT-CA;如果是2,则路径可以是PEER、CA、CA、ROOT-CA等等。默认值为10。
|
|
|
@@ -1724,12 +1673,8 @@ RSA-PSK-DES-CBC3-SHA,RSA-PSK-RC4-SHA"</code></br>
|
|
|
|
|
|
common_ssl_opts_schema_user_lookup_fun {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-EMQX-internal callback that is used to lookup pre-shared key (PSK) identity.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-用于查找预共享密钥(PSK)标识的 EMQX 内部回调。
|
|
|
-"""
|
|
|
+ en: """EMQX-internal callback that is used to lookup pre-shared key (PSK) identity. """
|
|
|
+ zh: """用于查找预共享密钥(PSK)标识的 EMQX 内部回调。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "SSL PSK user lookup fun"
|
|
|
@@ -1766,7 +1711,7 @@ are used.</br>
|
|
|
NOTE: The <code>dhfile</code> option is not supported by TLS 1.3.
|
|
|
"""
|
|
|
zh: """
|
|
|
-如果协商使用Diffie-Hellman密钥交换的密码套件,则服务器将使用包含PEM编码的Diffie-Hellman参数的文件的路径。如果未指定,则使用默认参数</br>
|
|
|
+如果协商使用Diffie-Hellman密钥交换的密码套件,则服务器将使用包含PEM编码的Diffie-Hellman参数的文件的路径。如果未指定,则使用默认参数。</br>
|
|
|
|
|
|
注意:TLS 1.3不支持<code>dhfile</code>选项。
|
|
|
"""
|
|
|
@@ -1875,10 +1820,8 @@ TLS/SSL握手建立后立即进行GC。
|
|
|
|
|
|
fields_listeners_tcp {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-TCP listeners
|
|
|
-"""
|
|
|
- zh: """TCP 监听器"""
|
|
|
+ en: """TCP listeners."""
|
|
|
+ zh: """TCP 监听器。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "TCP listeners"
|
|
|
@@ -1888,10 +1831,8 @@ TCP listeners
|
|
|
|
|
|
fields_listeners_ssl {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-SSL listeners
|
|
|
-"""
|
|
|
- zh: """SSL 监听器"""
|
|
|
+ en: """SSL listeners."""
|
|
|
+ zh: """SSL 监听器。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "SSL listeners"
|
|
|
@@ -1901,10 +1842,8 @@ SSL listeners
|
|
|
|
|
|
fields_listeners_ws {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-HTTP websocket listeners
|
|
|
-"""
|
|
|
- zh: """HTTP websocket 监听器"""
|
|
|
+ en: """HTTP websocket listeners."""
|
|
|
+ zh: """HTTP websocket 监听器。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "HTTP websocket listeners"
|
|
|
@@ -1914,10 +1853,8 @@ HTTP websocket listeners
|
|
|
|
|
|
fields_listeners_wss {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-HTTPS websocket listeners
|
|
|
-"""
|
|
|
- zh: """HTTPS websocket 监听器"""
|
|
|
+ en: """HTTPS websocket listeners."""
|
|
|
+ zh: """HTTPS websocket 监听器。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "HTTPS websocket listeners"
|
|
|
@@ -1927,10 +1864,8 @@ HTTPS websocket listeners
|
|
|
|
|
|
fields_listeners_quic {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-QUIC listeners
|
|
|
-"""
|
|
|
- zh: """QUIC 监听器"""
|
|
|
+ en: """QUIC listeners."""
|
|
|
+ zh: """QUIC 监听器。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "QUIC listeners"
|
|
|
@@ -1940,10 +1875,8 @@ QUIC listeners
|
|
|
|
|
|
fields_listener_enabled {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Enable listener.
|
|
|
-"""
|
|
|
- zh: """启停监听器"""
|
|
|
+ en: """Enable listener. """
|
|
|
+ zh: """启停监听器。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Enable listener"
|
|
|
@@ -1953,10 +1886,8 @@ Enable listener.
|
|
|
|
|
|
fields_mqtt_quic_listener_certfile {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Path to the certificate file.
|
|
|
-"""
|
|
|
- zh: """证书文件"""
|
|
|
+ en: """Path to the certificate file."""
|
|
|
+ zh: """证书文件。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Certificate file"
|
|
|
@@ -1966,10 +1897,8 @@ Path to the certificate file.
|
|
|
|
|
|
fields_mqtt_quic_listener_keyfile {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Path to the secret key file.
|
|
|
-"""
|
|
|
- zh: """私钥文件"""
|
|
|
+ en: """Path to the secret key file. """
|
|
|
+ zh: """私钥文件。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Key file"
|
|
|
@@ -1979,31 +1908,23 @@ Path to the secret key file.
|
|
|
|
|
|
fields_mqtt_quic_listener_idle_timeout {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-How long a connection can go idle before it is gracefully shut down. 0 to disable
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-一个连接在被关闭之前可以空闲多长时间。0表示禁用
|
|
|
-"""
|
|
|
+ en: """How long a connection can go idle before it is gracefully shut down. 0 to disable"""
|
|
|
+ zh: """一个连接在被关闭之前可以空闲多长时间。0表示禁用。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Idle Timeout"
|
|
|
- zh: "发呆超时时间"
|
|
|
+ zh: "空闲超时时间"
|
|
|
}
|
|
|
}
|
|
|
|
|
|
fields_mqtt_quic_listener_handshake_idle_timeout {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-How long a handshake can idle before it is discarded.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-一个握手在被丢弃之前可以空闲多长时间。
|
|
|
-"""
|
|
|
+ en: """How long a handshake can idle before it is discarded. """
|
|
|
+ zh: """一个握手在被丢弃之前可以空闲多长时间。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Handshake Idle Timeout"
|
|
|
- zh: "握手发呆超时时间"
|
|
|
+ zh: "握手空闲超时时间"
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -2013,7 +1934,7 @@ fields_mqtt_quic_listener_keep_alive_interval {
|
|
|
How often to send PING frames to keep a connection alive. 0 means disabled.
|
|
|
"""
|
|
|
zh: """
|
|
|
-发送 PING 帧的频率,以保活连接. 设为0,禁用
|
|
|
+发送 PING 帧的频率,以保活连接. 设为 0 表示禁用。
|
|
|
"""
|
|
|
}
|
|
|
label: {
|
|
|
@@ -2039,9 +1960,7 @@ IP address and port for the listening socket.
|
|
|
|
|
|
base_listener_acceptors {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-The size of the listener's receiving pool.
|
|
|
-"""
|
|
|
+ en: """The size of the listener's receiving pool."""
|
|
|
zh: """监听器接收池的大小。"""
|
|
|
}
|
|
|
label: {
|
|
|
@@ -2052,12 +1971,8 @@ The size of the listener's receiving pool.
|
|
|
|
|
|
base_listener_max_connections {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-The maximum number of concurrent connections allowed by the listener.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-监听器允许的最大并发连接数。
|
|
|
-"""
|
|
|
+ en: """The maximum number of concurrent connections allowed by the listener. """
|
|
|
+ zh: """监听器允许的最大并发连接数。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Max connections"
|
|
|
@@ -2218,7 +2133,7 @@ If there is no decision after a full chain exhaustion, the login is rejected.
|
|
|
|
|
|
该配置可以被配置为:
|
|
|
<ul>
|
|
|
- <li><code>[]</code>: 默认值,允许所以登录请求
|
|
|
+ <li><code>[]</code>: 默认值,允许所有的登录请求
|
|
|
<li>配置为单认证器,例如 <code>{enable:true,backend:\"built_in_database\",mechanism=\"password_based\"}</code></li>
|
|
|
<li>配置为认证器数组</li>
|
|
|
</ul>
|
|
|
@@ -2242,7 +2157,7 @@ When authenticating a login (username, client ID, etc.) the authenticators are c
|
|
|
监听器认证重载。
|
|
|
|
|
|
认证配置可以是单个认证器实例,也可以是一个认证器数组组成的认证链。
|
|
|
-执行登录验证时(用户名、客户端 ID 等),将按配置的顺序执行</br>
|
|
|
+执行登录验证时(用户名、客户端 ID 等),将按配置的顺序执行。
|
|
|
"""
|
|
|
}
|
|
|
label: {
|
|
|
@@ -2253,12 +2168,8 @@ When authenticating a login (username, client ID, etc.) the authenticators are c
|
|
|
|
|
|
fields_rate_limit_max_conn_rate {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Maximum connections per second.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-每秒最大连接数。
|
|
|
-"""
|
|
|
+ en: """Maximum connections per second."""
|
|
|
+ zh: """每秒最大连接数。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "Max connection rate"
|
|
|
@@ -2268,12 +2179,8 @@ Maximum connections per second.
|
|
|
|
|
|
fields_rate_limit_conn_messages_in {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-Message limit for the external MQTT connections.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-外部 MQTT 连接的消息限制。
|
|
|
-"""
|
|
|
+ en: """Message limit for the external MQTT connections."""
|
|
|
+ zh: """外部 MQTT 连接的消息限制。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "connecting messages in"
|
|
|
@@ -2314,13 +2221,13 @@ Indication extension from being sent and disables the hostname
|
|
|
verification check.
|
|
|
"""
|
|
|
zh: """
|
|
|
-指定要在 TLS 服务器名称指示扩展中使用的主机名</br>
|
|
|
+指定要在 TLS 服务器名称指示扩展中使用的主机名。</br>
|
|
|
例如,当连接到 "server.example.net" 时,接受连接并执行 TLS 握手的真正服务器可能与 TLS 客户端最初连接到的主机不同,
|
|
|
例如,当连接到 IP 地址时,或者当主机具有多个可解析的 DNS 记录时</br>
|
|
|
如果未指定,它将默认为使用的主机名字符串
|
|
|
建立连接,除非使用 IP 地址</br>
|
|
|
-然后,主机名也用于对等机的主机名验证
|
|
|
-证书</br>特殊值'disable'阻止发送服务器名称指示扩展,并禁用主机名验证检查。
|
|
|
+然后,主机名也用于对等机的主机名验证证书</br>
|
|
|
+特殊值 <code>disable</code> 阻止发送服务器名称指示扩展,并禁用主机名验证检查。
|
|
|
"""
|
|
|
}
|
|
|
label: {
|
|
|
@@ -2364,12 +2271,8 @@ TCP backlog 定义了挂起连接队列可以增长到的最大长度。
|
|
|
|
|
|
fields_tcp_opts_send_timeout {
|
|
|
desc {
|
|
|
- en: """
|
|
|
-The TCP send timeout for the connections.
|
|
|
-"""
|
|
|
- zh: """
|
|
|
-连接的TCP发送超时。
|
|
|
-"""
|
|
|
+ en: """The TCP send timeout for the connections. """
|
|
|
+ zh: """连接的 TCP 发送超时。"""
|
|
|
}
|
|
|
label: {
|
|
|
en: "TCP send timeout"
|
|
|
@@ -2398,7 +2301,7 @@ fields_tcp_opts_recbuf {
|
|
|
The TCP receive buffer (OS kernel) for the connections.
|
|
|
"""
|
|
|
zh: """
|
|
|
-连接的 TCP 接收缓冲区(OS内核)。
|
|
|
+连接的 TCP 接收缓冲区(OS 内核)。
|
|
|
"""
|
|
|
}
|
|
|
label: {
|
|
|
@@ -2413,7 +2316,7 @@ fields_tcp_opts_sndbuf {
|
|
|
The TCP send buffer (OS kernel) for the connections.
|
|
|
"""
|
|
|
zh: """
|
|
|
-连接的 TCP 发送缓冲区(OS内核)。
|
|
|
+连接的 TCP 发送缓冲区(OS 内核)。
|
|
|
"""
|
|
|
}
|
|
|
label: {
|
|
|
@@ -2494,7 +2397,7 @@ Determine the format of the payload format in the trace file.</br>
|
|
|
|
|
|
"""
|
|
|
zh: """
|
|
|
-确定跟踪文件中有效负载格式的格式</br>
|
|
|
+确定跟踪文件中有效负载格式的格式。</br>
|
|
|
`text`:基于文本的协议或纯文本协议。
|
|
|
建议在有效负载为JSON编码时使用</br>
|
|
|
`hex`:二进制十六进制编码。当有效负载是自定义二进制协议时,建议使用此选项</br>
|
|
|
@@ -2568,7 +2471,7 @@ message within this interval.
|
|
|
}
|
|
|
label: {
|
|
|
en: "WS idle timeout"
|
|
|
- zh: "WS 发呆时间"
|
|
|
+ zh: "WS 空闲时间"
|
|
|
}
|
|
|
}
|
|
|
|