+ Name
+ |
+
+ Type
+ |
+
+ Description
+ |
+
+ dataId
+ |
+
+ string
+
+ |
+
+ Configuration ID. Use a naming rule similar to package.class (for example, com.taobao.tc.refund.log.level) to ensure global uniqueness. It is recommended to indicate business meaning of the configuration in the "class" section. Use
+ lower case for all characters. Use alphabetical letters and these four special characters (".", ":", "-", "_") only. Up to 256 characters are allowed.
+ |
+
+ group
+ |
+
+ string
+ |
+
+ Configuration group. To ensure uniqueness, format such as product name: module name (for example, Nacos:Test) is preferred. Use alphabetical letters and these four special characters (".", ":", "-",
+ "_") only. Up to 128 characters are allowed.
+ |
+
+ timeout
+ |
+
+ long
+ |
+
+ Length of configuration read time-out (in ms). Recommended value: 3000.
+ |
+
+ Name
+ |
+
+ Type
+ |
+
+ Description
+ |
+
+ dataId
+ |
+
+ string
+ |
+
+ Configuration ID. Use a naming rule similar to package.class (for example, com.taobao.tc.refund.log.level) to ensure global uniqueness. It is recommended to indicate business meaning of the configuration in the "class" section. Use
+ lower case for all characters. Use alphabetical letters and these four special characters (".", ":", "-", "_") only. Up to 256 characters are allowed.
+ |
+
+ group
+ |
+
+ string
+ |
+
+ Configuration group. To ensure uniqueness, format such as product name: module name (for example, Nacos:Test) is preferred. Use alphabetical letters and these four special characters (".", ":", "-",
+ "_") only. Up to 128 characters are allowed.
+ |
+
+ listener
+ |
+
+ Config Change Listener
+ |
+
+ Listener. Configuration changes go into the callback function of the listener.
+ |
+
+ Name
+ |
+
+ Type
+ |
+
+ Description
+ |
+
+ dataId
+ |
+
+ string
+ |
+
+ Configuration ID. Use a naming rule similar to package.class (for example, com.taobao.tc.refund.log.level) to ensure global uniqueness. It is recommended to indicate business meaning of the configuration in the "class" section. Use
+ lower case for all characters. Use alphabetical letters and these four special characters (".", ":", "-", "_") only. Up to 256 characters are allowed.
+ |
+
+ group
+ |
+
+ string
+ |
+
+ Configuration group
+ |
+
+ listener
+ |
+
+ ConfigChangeListenerAdapter
+ |
+
+ Listener. Configuration changes go into the callback function of the listener.
+ |
+
+ 参数名
+ |
+
+ 参数类型
+ |
+
+ 描述
+ |
+
+ dataId
+ |
+
+ string
+ |
+
+ 配置 ID,采用类似 package.class(如com.taobao.tc.refund.log.level)的命名规则保证全局唯一性,class 部分建议是配置的业务含义。 全部字符小写。只允许英文字符和 4 种特殊字符("."、":"、"-"、"_")。不超过 256 字节。
+ |
+
+ group
+ |
+
+ string
+ |
+
+ 配置分组,建议填写产品名:模块名(如 Nacos:Test)保证唯一性。 只允许英文字符和4种特殊字符("."、":"、"-"、"_"),不超过128字节。
+
+ |
+
+ listener
+ |
+
+ Listener
+ |
+
+ 监听器,配置变更进入监听器的回调函数。
+ |
+