Skip to content

Commit 4c1e250

Browse files
Update client-property-config.md (apache#911)
1 parent 45663c2 commit 4c1e250

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

i18n/zh/docusaurus-plugin-content-docs/version-2.5.1/user-guide/property-config/client-property-config.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,21 @@ description: Client属性配置
1313
### 属性配置
1414

1515
```yaml
16-
shenyu:
17-
client:
18-
registerType: http #zookeeper #etcd #nacos #consul
19-
serverLists: http://localhost:9095 #localhost:2181 #http://localhost:2379 #localhost:8848
20-
props:
21-
contextPath: /http
22-
appName: http
23-
port: 8189
24-
nacosNameSpace: ShenyuRegisterCenter
25-
16+
shenyu:
17+
register:
18+
registerType: http
19+
serverLists: http://localhost:9095
20+
props:
21+
username: admin
22+
password: 123456
23+
client:
24+
http: # http 协议
25+
props:
26+
appName: appName # 服务名称
27+
contextPath: /http # 每个服务的路由地址
28+
host: 127.0.0.1
29+
port: 8080
30+
isFull : false
2631
```
2732
2833

0 commit comments

Comments
 (0)