diff --git a/apps/emqx/src/emqx_schema.erl b/apps/emqx/src/emqx_schema.erl index e9f455611..b6390081b 100644 --- a/apps/emqx/src/emqx_schema.erl +++ b/apps/emqx/src/emqx_schema.erl @@ -328,7 +328,7 @@ fields("stats") -> ]; fields("authorization") -> authz_fields(); -fields("cache") -> +fields("authz_cache") -> [ {"enable", sc( @@ -1684,7 +1684,7 @@ desc("mqtt") -> "Global MQTT configuration.
" "The configs here work as default values which can be overridden\n" "in zone configs"; -desc("cache") -> +desc("authz_cache") -> "Settings for the authorization cache."; desc("zone") -> "A `Zone` defines a set of configuration items (such as the maximum number of connections)" @@ -2090,7 +2090,7 @@ authz_fields() -> )}, {"cache", sc( - ref(?MODULE, "cache"), + ref(?MODULE, "authz_cache"), #{} )} ]. diff --git a/apps/emqx_connector/i18n/emqx_connector_schema_lib.conf b/apps/emqx_connector/i18n/emqx_connector_schema_lib.conf index 8f25e0352..1bc45c36d 100644 --- a/apps/emqx_connector/i18n/emqx_connector_schema_lib.conf +++ b/apps/emqx_connector/i18n/emqx_connector_schema_lib.conf @@ -35,11 +35,11 @@ emqx_connector_schema_lib { pool_size { desc { - en: "Size of the connection pool." - zh: "连接池大小。" + en: "Size of the connection pool towards the bridge target service." + zh: "桥接远端服务时使用的连接池大小。" } label: { - en: "Pool Size" + en: "Connection Pool Size" zh: "连接池大小" } } diff --git a/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf b/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf index 7ccf20d0b..02f979449 100644 --- a/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf +++ b/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf @@ -437,7 +437,7 @@ emqx_ee_bridge_kafka { buffer_memory_overload_protection { desc { en: "Applicable when buffer mode is set to memory or hybrid.\n" - "EMQX will drop old cached messages under high memory pressure. " + "EMQX will drop old buffered messages under high memory pressure. " "The high memory threshold is defined in config sysmon.os.sysmem_high_watermark. " "NOTE: This config only works on Linux." zh: "缓存模式是 memoryhybrid 时适用。"