Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPDATE parameters-check.md 实例元数据注释 #763

Merged
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/docs/next/zh-cn/manual/user/parameters-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ sidebar:
|参数描述|最大字符长度|校验规则|
|-----|-----|-----|
|命名空间名称|256|禁止`@#$%^&*`,对应正则表达式:`[^@#$%^&*]+$`|
|命名空间ID|64|只允许字母数字下划线以及"-"字符,对应正则表达式:`^[\w-]+`|
|命名空间ID|64|只允许字母数字下划线以及"-"字符,对应正则表达式:`^[\w-]+`||
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这行是多了个|吗?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

确实是的。老师,我改下。……

|配置名称|256|只允许字母数字以及`_-.:`,对应正则表达式:`^[a-zA-Z0-9-_:\.]*$`|
|服务名称|512|禁止中文和`@@`且禁止以`@`开头,禁止空白字符,对应正则表达式`^(?!@).((?!@@)[^\u4E00-\u9FA5])*$`|
|分组名称|128|只允许字母数字以及`_-.:`,对应正则表达式:`^[a-zA-Z0-9-_:\.]*$`|
|集群名称|64|只允许数字字母和`-_`,对应正则表达式`^[0-9a-zA-Z-_]+$`|
|IP地址|128|禁止中文字符和空白字符,对应正则表达式为`^[^\u4E00-\u9FA5]*$`|
|端口号|-|取值范围为`0~65535`|
|实例元数据|1024|字段名加字段值的总长度小于1024个字符|
|实例元数据|1024|字段名加字段值的默认总长度小于1024个字符,可使用环境变量`NACOS_NAMING_SERVICE_METADATA_LENGTH=`进行动态调整|

### 2.1. namespaceShowName

Expand Down