Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ When the Nacos Java SDK connects to Nacos Server, you can configure a set of par

| Parameter | Meaning | Optional Values | Default Value |
|-----------------------------------------------------------------|------------------------------------------------------------------------------------|---------|---------------|
| nacos.server.grpc.port.offset | The offset of the Nacos Server gRPC port relative to the main port. | Any int value | 1000 |
| nacos.server.grpc.port.offset | The offset of the Nacos Server gRPC port relative to the main port. It can be set in each Java SDK client's `Properties` when different client instances need different offsets. | Any int value | 1000 |
| nacos.remote.client.grpc.name | The name of the gRPC connection for this Nacos Java SDK. | Any string | null |
| nacos.remote.client.grpc.connect.keep.alive | The keep-alive interval of the gRPC connection for this Nacos Java SDK. | Any long value | 5000 |
| nacos.remote.client.grpc.retry.times | The maximum retry count when the gRPC connection of this Nacos Java SDK initiates a request. | Any int value | 3 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Nacos Java SDK 连接Nacos Server时,可以设置一系列的参数,来提

| 参数名 | 含义 | 可选值 | 默认值 |
|-----------------------------------------------------------------|------------------------------------------------------------------------------------|---------|---------------|
| nacos.server.grpc.port.offset | Nacos Server GRPC端口相对主端口的偏移量 | 任意int值 | 1000 |
| nacos.server.grpc.port.offset | Nacos Server GRPC端口相对主端口的偏移量。不同 Java SDK 实例需要使用不同偏移量时,可以在各自客户端的 `Properties` 中设置该参数 | 任意int值 | 1000 |
| nacos.remote.client.grpc.name | 该Nacos Java SDK的GRPC连接的名字 | 任意字符串 | null |
| nacos.remote.client.grpc.connect.keep.alive | 该Nacos Java SDK的GRPC连接的Keep Alive | 任意Long值 | 5000 |
| nacos.remote.client.grpc.retry.times | 该Nacos Java SDK的GRPC连接发起请求时的最大重试次数 | 任意int值 | 3 |
Expand Down