You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by mi...@apache.org on 2021/08/28 06:54:02 UTC
[incubator-shenyu-website] 02/02: add client properties config doc.
This is an automated email from the ASF dual-hosted git repository.
midnight2104 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu-website.git
commit d0cd28430141fdf7ef655cc97477b0f80f7cdaab
Author: midnight2104 <LL...@163.com>
AuthorDate: Sat Aug 28 14:53:38 2021 +0800
add client properties config doc.
---
content/en/projects/shenyu/client-property-config/index.md | 4 ++--
content/zh/projects/shenyu/client-property-config/index.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/content/en/projects/shenyu/client-property-config/index.md b/content/en/projects/shenyu/client-property-config/index.md
index 63b9253..79bfa60 100644
--- a/content/en/projects/shenyu/client-property-config/index.md
+++ b/content/en/projects/shenyu/client-property-config/index.md
@@ -59,8 +59,8 @@ When microservices are built by different protocols, the property configuration
|ipAndPort |String | null | No | Service IP and port address, currently just applies to `gRPC` Proxy.|
|shutdownWaitTime |int | 3000 | No | shutdown wait time(millisecond)|
|delayOtherHooksExecTime |int | 2000 | No | `hook` execute time(millisecond)|
-|applicationShutdownHooksClassName |int | `java.lang.ApplicationShutdownHooks` | No | `hook` execute class name|
-|applicationShutdownHooksFieldName |int | `hooks` | No | `hook` execute field name |
+|applicationShutdownHooksClassName |String | `java.lang.ApplicationShutdownHooks` | No | `hook` execute class name|
+|applicationShutdownHooksFieldName |String | `hooks` | No | `hook` execute field name |
The value of the property varies according to the `registerType`.
diff --git a/content/zh/projects/shenyu/client-property-config/index.md b/content/zh/projects/shenyu/client-property-config/index.md
index 7db87d9..3e16f36 100644
--- a/content/zh/projects/shenyu/client-property-config/index.md
+++ b/content/zh/projects/shenyu/client-property-config/index.md
@@ -54,8 +54,8 @@ shenyu:
|ipAndPort |String | 无 | 否 | 服务的IP和端口地址,目前适用于`gRPC`。|
|shutdownWaitTime |int | 3000 | 否 | 服务停止等待时间(毫秒)|
|delayOtherHooksExecTime |int | 2000 | 否 | `hook`执行时间(毫秒)|
-|applicationShutdownHooksClassName |int | `java.lang.ApplicationShutdownHooks` | 否 | `hook`执行类|
-|applicationShutdownHooksFieldName |int | `hooks` | 否 | `hook`执行字段|
+|applicationShutdownHooksClassName |String | `java.lang.ApplicationShutdownHooks` | 否 | `hook`执行类|
+|applicationShutdownHooksFieldName |String | `hooks` | 否 | `hook`执行字段|
使用不同的注册类型时,属性取值不同。