Pārlūkot izejas kodu

Merge pull request #9743 from zmstone/0112-docs-fix-some-descriptions

0112 docs fix some descriptions
Zaiming (Stone) Shi 3 gadi atpakaļ
vecāks
revīzija
376dab7cd8

+ 3 - 3
apps/emqx/src/emqx_schema.erl

@@ -328,7 +328,7 @@ fields("stats") ->
     ];
     ];
 fields("authorization") ->
 fields("authorization") ->
     authz_fields();
     authz_fields();
-fields("cache") ->
+fields("authz_cache") ->
     [
     [
         {"enable",
         {"enable",
             sc(
             sc(
@@ -1684,7 +1684,7 @@ desc("mqtt") ->
     "Global MQTT configuration.<br/>"
     "Global MQTT configuration.<br/>"
     "The configs here work as default values which can be overridden\n"
     "The configs here work as default values which can be overridden\n"
     "in <code>zone</code> configs";
     "in <code>zone</code> configs";
-desc("cache") ->
+desc("authz_cache") ->
     "Settings for the authorization cache.";
     "Settings for the authorization cache.";
 desc("zone") ->
 desc("zone") ->
     "A `Zone` defines a set of configuration items (such as the maximum number of connections)"
     "A `Zone` defines a set of configuration items (such as the maximum number of connections)"
@@ -2090,7 +2090,7 @@ authz_fields() ->
             )},
             )},
         {"cache",
         {"cache",
             sc(
             sc(
-                ref(?MODULE, "cache"),
+                ref(?MODULE, "authz_cache"),
                 #{}
                 #{}
             )}
             )}
     ].
     ].

+ 3 - 3
apps/emqx_connector/i18n/emqx_connector_schema_lib.conf

@@ -35,11 +35,11 @@ emqx_connector_schema_lib {
 
 
     pool_size {
     pool_size {
         desc {
         desc {
-          en: "Size of the connection pool."
-          zh: "连接池大小。"
+          en: "Size of the connection pool towards the bridge target service."
+          zh: "桥接远端服务时使用的连接池大小。"
         }
         }
         label: {
         label: {
-              en: "Pool Size"
+              en: "Connection Pool Size"
               zh: "连接池大小"
               zh: "连接池大小"
             }
             }
     }
     }

+ 1 - 1
lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_kafka.conf

@@ -437,7 +437,7 @@ emqx_ee_bridge_kafka {
     buffer_memory_overload_protection {
     buffer_memory_overload_protection {
         desc {
         desc {
             en: "Applicable when buffer mode is set to <code>memory</code> or <code>hybrid</code>.\n"
             en: "Applicable when buffer mode is set to <code>memory</code> or <code>hybrid</code>.\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 <code>sysmon.os.sysmem_high_watermark</code>. "
                 "The high memory threshold is defined in config <code>sysmon.os.sysmem_high_watermark</code>. "
                 "NOTE: This config only works on Linux."
                 "NOTE: This config only works on Linux."
             zh: "缓存模式是 <code>memory</code> 或 <code>hybrid</code> 时适用。"
             zh: "缓存模式是 <code>memory</code> 或 <code>hybrid</code> 时适用。"