This is an automated email from the ASF dual-hosted git repository.
dengliming pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-website.git
The following commit(s) were added to refs/heads/main by this push:
new 1d43919249 [Fix reactor-netty docs] Fix reactor-netty options default
value error. (#976)
1d43919249 is described below
commit 1d43919249808443ee3f9ffbd43fac1876d86ee7
Author: lahmxu <[email protected]>
AuthorDate: Thu Sep 14 21:38:57 2023 +0800
[Fix reactor-netty docs] Fix reactor-netty options default value error.
(#976)
---
.../property-config/gateway-property-config.md | 28 ++++----
.../property-config/gateway-property-config.md | 26 +++----
.../property-config/gateway-property-config.md | 30 ++++----
.../property-config/gateway-property-config.md | 30 ++++----
.../property-config/gateway-property-config.md | 82 +++++++++++-----------
.../property-config/gateway-property-config.md | 28 ++++----
.../property-config/gateway-property-config.md | 28 ++++----
.../property-config/gateway-property-config.md | 32 ++++-----
.../property-config/gateway-property-config.md | 66 ++++++++---------
.../property-config/gateway-property-config.md | 28 ++++----
.../property-config/gateway-property-config.md | 28 ++++----
.../property-config/gateway-property-config.md | 28 ++++----
12 files changed, 217 insertions(+), 217 deletions(-)
diff --git a/docs/user-guide/property-config/gateway-property-config.md
b/docs/user-guide/property-config/gateway-property-config.md
index 5efa94c9e4..9735019636 100644
--- a/docs/user-guide/property-config/gateway-property-config.md
+++ b/docs/user-guide/property-config/gateway-property-config.md
@@ -43,8 +43,8 @@ shenyu:
serverSocketChannel:
soRcvBuf: 87380
soBackLog: 128
- soReuseAddr: false
- connectTimeoutMillis: 10000
+ soReuseAddr: true
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -54,14 +54,14 @@ shenyu:
singleEventExecutorPerGroup: true
socketChannel:
soKeepAlive: false
- soReuseAddr: false
+ soReuseAddr: true
soLinger: -1
tcpNoDelay: true
soRcvBuf: 87380
soSndBuf: 16384
ipTos: 0
allowHalfClosure: false
- connectTimeoutMillis: 10000
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -264,7 +264,7 @@ when you mark `matchRestful` as true, we suggest mark all
cache to `false` to av
##### shenyu.NettyTcpProperties config
-The apache shenyu netty config.
+The apache shenyu reactor-netty config.
| Name | Type | Default | Required | Description
|
|:------------------------------|:--------|:-------:|:--------:|:------------------------------------------------------------------------------------------------------------------------------------------|
@@ -273,31 +273,31 @@ The apache shenyu netty config.
| workerCount | Integer | 4 | No | Number of
netty workers.
|
| accessLog | Boolean | false | No | netty request
parameters.
|
| **ServerSocketChannelConfig** | | | |
|
-| soRcvBuf | Integer | 87380 | No | Socket
config, the size of the socket receive buffer.
|
+| soRcvBuf | Integer | -- | No | Socket config,
the size of the socket receive buffer. The default value is system dependent. |
| soBackLog | Integer | 128 | No | Socket
config, maximum length of the accept queue.
|
-| soReuseAddr | Boolean | false | No | Socket
config, allow reuse of local addresses.
|
-| connectTimeoutMillis | Integer | 10000 | No | Netty config,
the connect timeout of the channel in milliseconds.
|
+| soReuseAddr | Boolean | true | No | Socket config,
allow reuse of local addresses. The default value in reactor-netty is true. |
+| connectTimeoutMillis | Integer | 30000 | No | Netty
config, the connect timeout of the channel in milliseconds. |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty config,
the high water mark of the write buffer.
|
| writeBufferLowWaterMark | Integer | 32768 | No | Netty config,
the low water mark of the write buffer.
|
| writeSpinCount | Integer | 16 | No | Netty config,
the maximum loop count for a write operation.
|
-| autoRead | Boolean | true | No | Netty config,
channel read method will be invoked automatically so that a user application
doesn't need to call it at all. |
+| autoRead | Boolean | false | No | Netty
config, channel read method will be invoked automatically so that a user
application doesn't need to call it at all. The default value in reactor-netty
is false, and can only be false. |
| allocType | String | pooled | No | Netty config,
set the ByteBufAllocator which is used for the channel to allocate buffers.
|
| messageSizeEstimator | Integer | 8 | No | Netty config,
message size estimator, estimate ByteBuf,ByteBufHolder and FileRegion size.
|
| singleEventExecutorPerGroup | Boolean | true | No | Netty config,
single thread execute the event of ChannelPipeline.
|
| **SocketChannelConfig** | | | |
|
| soKeepAlive | Boolean | false | No | Socket
config, enable tcp keepalive.
|
-| soReuseAddr | Boolean | false | No | Socket
config, allow reuse of local addresses.
|
+| soReuseAddr | Boolean | true | No | Socket config,
allow reuse of local addresses. The default value in reactor-netty is true. |
| soLinger | Integer | -1 | No | Socket
config, the delay time for closing the socket.
|
| tcpNoDelay | Boolean | true | No | Socket
config, enable Nagle algorithm.
|
-| soRcvBuf | Integer | 87380 | No | Socket
config, the size of the socket receive buffer.
|
-| soSndBuf | Integer | 128 | No | Socket
config, the size of the socket send buffer.
|
+| soRcvBuf | Integer | -- | No | Socket
config, the size of the socket receive buffer. The default value is system
dependent. |
+| soSndBuf | Integer | -- | No | Socket
config, the size of the socket send buffer. The default value is system
dependent. |
| ipTos | Integer | 0 | No | IP config,
the Type of Service (ToS) octet in the Internet Protocol (IP) header.
|
| allowHalfClosure | Boolean | false | No | Netty config,
Sets whether the channel should not close itself when its remote peer shuts
down output to make the connection half-closed. |
-| connectTimeoutMillis | Integer | 10000 | No | Netty config,
the connect timeout of the channel in milliseconds.
|
+| connectTimeoutMillis | Integer | 30000 | No | Netty
config, the connect timeout of the channel in milliseconds. |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty config,
the high water mark of the write buffer.
|
| writeBufferLowWaterMark | Integer | 32768 | No | Netty config,
the low water mark of the write buffer.
|
| writeSpinCount | Integer | 16 | No | Netty config,
the maximum loop count for a write operation.
|
-| autoRead | Boolean | true | No | Netty config,
channel read method will be invoked automatically so that a user application
doesn't need to call it at all. |
+| autoRead | Boolean | false | No | Netty
config, channel read method will be invoked automatically so that a user
application doesn't need to call it at all. The default value in reactor-netty
is false, and can only be false. |
| allocType | String | pooled | No | Netty config,
set the ByteBufAllocator which is used for the channel to allocate buffers.
|
| messageSizeEstimator | Integer | 8 | No | Netty config,
message size estimator, estimate ByteBuf,ByteBufHolder and FileRegion size.
|
| singleEventExecutorPerGroup | Boolean | true | No | Netty config,
single thread execute the event of ChannelPipeline.
|
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/property-config/gateway-property-config.md
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/property-config/gateway-property-config.md
index dfdef9beb3..b6ce7edc70 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/property-config/gateway-property-config.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/property-config/gateway-property-config.md
@@ -43,8 +43,8 @@ shenyu:
serverSocketChannel:
soRcvBuf: 87380
soBackLog: 128
- soReuseAddr: false
- connectTimeoutMillis: 10000
+ soReuseAddr: true
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -61,7 +61,7 @@ shenyu:
soSndBuf: 16384
ipTos: 0
allowHalfClosure: false
- connectTimeoutMillis: 10000
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -264,7 +264,7 @@ shenyu默认开启L1和L2缓存, shenyu前缀树支持两种匹配模式,我
##### shenyu.NettyTcpProperties 配置
-Apache ShenYu Netty 配置
+Apache ShenYu reactor-netty 配置
| 名称 | 类型 | 默认值 | 是否必填 | 说明
|
|:------------------------------|:-----
|:-------:|:--------:|:------------------------------------------------------------|
@@ -273,31 +273,31 @@ Apache ShenYu Netty 配置
| workerCount | Integer | 4 | 否 | Netty 工作线程数
|
| accessLog | Boolean | false | 否 | netty request
parameters. |
| **ServerSocketChannelConfig** | | | |
|
-| soRcvBuf | Integer | 87380 | 否 |
Socket参数,TCP数据接收缓冲区大小 |
+| soRcvBuf | Integer | -- | 否 |
Socket参数,TCP数据接收缓冲区大小,默认由系统决定 |
| soBackLog | Integer | 128 | 否 |
Socket参数,服务端接受连接的队列长度 |
-| soReuseAddr | Boolean | false | 否 | Socket
参数,是否复用地址 |
-| connectTimeoutMillis | Integer | 10000 | 否 | Netty
参数,连接超时时间 |
+| soReuseAddr | Boolean | true | 否 | Socket
参数,是否复用地址,reactor-netty中默认值为true |
+| connectTimeoutMillis | Integer | 30000 | 否 | Netty
参数,连接超时时间 |
| writeBufferHighWaterMark | Integer | 65536 | 否 | Netty
参数,通道水位线上限 |
| writeBufferLowWaterMark | Integer | 32768 | 否 | Netty
参数,通道水位线下限 |
| writeSpinCount | Integer | 16 | 否 |
Netty参数,一个Loop写操作执行的最大次数 |
-| autoRead | Boolean | true | 否 | Netty参数,自动读取
|
+| autoRead | Boolean | false | 否 |
Netty参数,自动读取,reactor-netty中默认值为false,且只能为false |
| allocType | String | pooled | 否 |
Netty参数,ByteBuf的分配器 |
| messageSizeEstimator | Integer | 8 | 否 | Netty参数,
消息大小估算器, 用于估算ByteBuf,ByteBufHolder和FileRegion大小 |
| singleEventExecutorPerGroup | Boolean | true | 否 | Netty参数,
单线程执行ChannelPipeline中的事件 |
| **SocketChannelConfig** | | | |
|
| soKeepAlive | Boolean | false | 否 | Socket
参数,是否启用心跳保活机制 |
-| soReuseAddr | Boolean | false | 否 | Socket
参数,是否复用地址 |
+| soReuseAddr | Boolean | true | 否 | Socket
参数,是否复用地址,reactor-netty中默认值为true |
| soLinger | Integer | -1 | 否 | Socket 参数,关闭
Socket 的延迟时间 |
| tcpNoDelay | Boolean | true | 否 | Socket 参数,是否启用
Nagle 算法 |
-| soRcvBuf | Integer | 87380 | 否 |
Socket参数,TCP数据接收缓冲区大小 |
-| soSndBuf | Integer | 128 | 否 |
Socket参数,TCP数据发送缓冲区大小 |
+| soRcvBuf | Integer | -- | 否 |
Socket参数,TCP数据接收缓冲区大小,默认由系统决定 |
+| soSndBuf | Integer | -- | 否 |
Socket参数,TCP数据发送缓冲区大小,默认由系统决定 |
| ipTos | Integer | 0 | 否 |
IP参数,设置IP头部的Type-of-Service字段,用于描述IP包的优先级和QoS选项 |
| allowHalfClosure | Boolean | false | 否 |
Netty参数,一个连接的远端关闭时本地端是否关闭 |
-| connectTimeoutMillis | Integer | 10000 | 否 | Netty
参数,连接超时时间 |
+| connectTimeoutMillis | Integer | 30000 | 否 | Netty
参数,连接超时时间 |
| writeBufferHighWaterMark | Integer | 65536 | 否 | Netty
参数,通道水位线上限 |
| writeBufferLowWaterMark | Integer | 32768 | 否 | Netty
参数,通道水位线下限 |
| writeSpinCount | Integer | 16 | 否 |
Netty参数,一个Loop写操作执行的最大次数 |
-| autoRead | Boolean | true | 否 | Netty参数,自动读取
|
+| autoRead | Boolean | false | 否 |
Netty参数,自动读取,reactor-netty中默认值为false,且只能为false |
| allocType | String | pooled | 否 |
Netty参数,ByteBuf的分配器 |
| messageSizeEstimator | Integer | 8 | 否 | Netty参数,
消息大小估算器, 用于估算ByteBuf,ByteBufHolder和FileRegion大小 |
| singleEventExecutorPerGroup | Boolean | true | 否 | Netty参数,
单线程执行ChannelPipeline中的事件 |
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/user-guide/property-config/gateway-property-config.md
b/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/user-guide/property-config/gateway-property-config.md
index 3e186a12f0..c6f188ae18 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/user-guide/property-config/gateway-property-config.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/version-2.4.2/user-guide/property-config/gateway-property-config.md
@@ -20,12 +20,12 @@ shenyu:
serverSocketChannel:
soRcvBuf: 87380
soBackLog: 128
- soReuseAddr: false
- connectTimeoutMillis: 10000
+ soReuseAddr: true
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
- autoRead: true
+ autoRead: false
allocType: "pooled"
socketChannel:
soKeepAlive: false
@@ -36,11 +36,11 @@ shenyu:
soSndBuf: 16384
ipTos: 0
allowHalfClosure: false
- connectTimeoutMillis: 10000
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
- autoRead: true
+ autoRead: false
allocType: "pooled"
instance:
enabled: false
@@ -143,7 +143,7 @@ shenyu:
##### shenyu.NettyTcpProperties 配置
-`ShenYu` Netty 配置
+`ShenYu` reactor-netty 配置
|Name | Type | Default | Required | Description
|
|:------------------------ |:----- |:-------:
|:-------:|:----------------------------|
@@ -151,29 +151,29 @@ shenyu:
| selectCount | Integer | 1 | No | Netty 选择器数 |
| workerCount | Integer | 4 | No | Netty 工作线程数 |
| **ServerSocketChannelConfig** | | | | |
-| soRcvBuf | Integer | 87380 | No | Socket参数,TCP数据接收缓冲区大小 |
+| soRcvBuf | Integer | -- | No | Socket参数,TCP数据接收缓冲区大小,默认由系统决定 |
| soBackLog | Integer | 128 | No | Socket参数,服务端接受连接的队列长度 |
-| soReuseAddr | Boolean | false | No | Socket 参数,是否复用地址 |
-| connectTimeoutMillis | Integer | 10000 | No | Netty 参数,连接超时时间 |
+| soReuseAddr | Boolean | true | No | Socket 参数,是否复用地址,reactor-netty中默认值为true |
+| connectTimeoutMillis | Integer | 30000 | No | Netty 参数,连接超时时间 |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty 参数,通道水位线上限 |
| writeBufferLowWaterMark | Integer | 32768 | No | Netty 参数,通道水位线下限 |
| writeSpinCount | Integer | 16 | No |
Netty参数,一个Loop写操作执行的最大次数 |
-| autoRead | Boolean | true | No | Netty参数,自动读取
|
+| autoRead | Boolean | false | No |
Netty参数,自动读取,reactor-netty中默认值为false,且只能为false |
| allocType | String | pooled | No |
Netty参数,ByteBuf的分配器 |
| **SocketChannelConfig** | | | | |
| soKeepAlive | Boolean | false | No | Socket 参数,是否启用心跳保活机制 |
-| soReuseAddr | Boolean | false | No | Socket 参数,是否复用地址 |
+| soReuseAddr | Boolean | true | No | Socket 参数,是否复用地址,reactor-netty中默认值为true |
| soLinger | Integer | -1 | No | Socket 参数,关闭 Socket 的延迟时间 |
| tcpNoDelay | Boolean | true | No | Socket 参数,是否启用 Nagle 算法 |
-| soRcvBuf | Integer | 87380 | No | Socket参数,TCP数据接收缓冲区大小 |
-| soSndBuf | Integer | 128 | No | |
+| soRcvBuf | Integer | -- | No | Socket参数,TCP数据接收缓冲区大小,默认由系统决定 |
+| soSndBuf | Integer | -- | No | Socket参数,TCP数据发送缓冲区大小,默认由系统决定 |
| ipTos | Integer | 0 | No | IP参数,设置IP头部的Type-of-Service字段,用于描述IP包的优先级和QoS选项 |
| allowHalfClosure | Boolean | false | No | Netty参数,一个连接的远端关闭时本地端是否关闭 |
-| connectTimeoutMillis | Integer | 10000 | No | Netty 参数,连接超时时间 |
+| connectTimeoutMillis | Integer | 30000 | No | Netty 参数,连接超时时间 |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty 参数,通道水位线上限 |
| writeBufferLowWaterMark | Integer | 32768 | No | Netty 参数,通道水位线下限 |
| writeSpinCount | Integer | 16 | No | Netty参数,一个Loop写操作执行的最大次数 |
-| autoRead | Boolean | true | No | Netty参数,自动读取 |
+| autoRead | Boolean | false | No |
Netty参数,自动读取,reactor-netty中默认值为false,且只能为false |
| allocType | String | pooled | No | Netty参数,ByteBuf的分配器 |
##### shenyu.instance 配置
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/version-2.4.3/user-guide/property-config/gateway-property-config.md
b/i18n/zh/docusaurus-plugin-content-docs/version-2.4.3/user-guide/property-config/gateway-property-config.md
index 804d52210c..69810296a7 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/version-2.4.3/user-guide/property-config/gateway-property-config.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/version-2.4.3/user-guide/property-config/gateway-property-config.md
@@ -20,12 +20,12 @@ shenyu:
serverSocketChannel:
soRcvBuf: 87380
soBackLog: 128
- soReuseAddr: false
- connectTimeoutMillis: 10000
+ soReuseAddr: true
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
- autoRead: true
+ autoRead: false
allocType: "pooled"
socketChannel:
soKeepAlive: false
@@ -36,11 +36,11 @@ shenyu:
soSndBuf: 16384
ipTos: 0
allowHalfClosure: false
- connectTimeoutMillis: 10000
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
- autoRead: true
+ autoRead: false
allocType: "pooled"
instance:
enabled: false
@@ -150,7 +150,7 @@ shenyu:
##### shenyu.NettyTcpProperties 配置
-`ShenYu` Netty 配置
+`ShenYu` reactor-netty 配置
|Name | Type | Default | Required | Description
|
|:------------------------ |:----- |:-------:
|:-------:|:----------------------------|
@@ -158,29 +158,29 @@ shenyu:
| selectCount | Integer | 1 | No | Netty 选择器数 |
| workerCount | Integer | 4 | No | Netty 工作线程数 |
| **ServerSocketChannelConfig** | | | | |
-| soRcvBuf | Integer | 87380 | No | Socket参数,TCP数据接收缓冲区大小 |
+| soRcvBuf | Integer | -- | No | Socket参数,TCP数据接收缓冲区大小,默认由系统决定 |
| soBackLog | Integer | 128 | No | Socket参数,服务端接受连接的队列长度 |
-| soReuseAddr | Boolean | false | No | Socket 参数,是否复用地址 |
-| connectTimeoutMillis | Integer | 10000 | No | Netty 参数,连接超时时间 |
+| soReuseAddr | Boolean | true | No | Socket 参数,是否复用地址,reactor-netty中默认值为true |
+| connectTimeoutMillis | Integer | 30000 | No | Netty 参数,连接超时时间 |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty 参数,通道水位线上限 |
| writeBufferLowWaterMark | Integer | 32768 | No | Netty 参数,通道水位线下限 |
| writeSpinCount | Integer | 16 | No |
Netty参数,一个Loop写操作执行的最大次数 |
-| autoRead | Boolean | true | No | Netty参数,自动读取
|
+| autoRead | Boolean | false | No |
Netty参数,自动读取,reactor-netty中默认值为false,且只能为false |
| allocType | String | pooled | No |
Netty参数,ByteBuf的分配器 |
| **SocketChannelConfig** | | | | |
| soKeepAlive | Boolean | false | No | Socket 参数,是否启用心跳保活机制 |
-| soReuseAddr | Boolean | false | No | Socket 参数,是否复用地址 |
+| soReuseAddr | Boolean | true | No | Socket 参数,是否复用地址,reactor-netty中默认值为true |
| soLinger | Integer | -1 | No | Socket 参数,关闭 Socket 的延迟时间 |
| tcpNoDelay | Boolean | true | No | Socket 参数,是否启用 Nagle 算法 |
-| soRcvBuf | Integer | 87380 | No | Socket参数,TCP数据接收缓冲区大小 |
-| soSndBuf | Integer | 128 | No | |
+| soRcvBuf | Integer | -- | No | Socket参数,TCP数据接收缓冲区大小,默认由系统决定 |
+| soSndBuf | Integer | -- | No | Socket参数,TCP数据发送缓冲区大小,默认由系统决定 |
| ipTos | Integer | 0 | No | IP参数,设置IP头部的Type-of-Service字段,用于描述IP包的优先级和QoS选项 |
| allowHalfClosure | Boolean | false | No | Netty参数,一个连接的远端关闭时本地端是否关闭 |
-| connectTimeoutMillis | Integer | 10000 | No | Netty 参数,连接超时时间 |
+| connectTimeoutMillis | Integer | 30000 | No | Netty 参数,连接超时时间 |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty 参数,通道水位线上限 |
| writeBufferLowWaterMark | Integer | 32768 | No | Netty 参数,通道水位线下限 |
| writeSpinCount | Integer | 16 | No | Netty参数,一个Loop写操作执行的最大次数 |
-| autoRead | Boolean | true | No | Netty参数,自动读取 |
+| autoRead | Boolean | false | No |
Netty参数,自动读取,reactor-netty中默认值为false,且只能为false |
| allocType | String | pooled | No | Netty参数,ByteBuf的分配器 |
##### shenyu.instance 配置
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/version-2.5.0/user-guide/property-config/gateway-property-config.md
b/i18n/zh/docusaurus-plugin-content-docs/version-2.5.0/user-guide/property-config/gateway-property-config.md
index 3ebca03ae8..1fe6b6af0c 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/version-2.5.0/user-guide/property-config/gateway-property-config.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/version-2.5.0/user-guide/property-config/gateway-property-config.md
@@ -24,8 +24,8 @@ shenyu:
serverSocketChannel:
soRcvBuf: 87380
soBackLog: 128
- soReuseAddr: false
- connectTimeoutMillis: 10000
+ soReuseAddr: true
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -35,14 +35,14 @@ shenyu:
singleEventExecutorPerGroup: true
socketChannel:
soKeepAlive: false
- soReuseAddr: false
+ soReuseAddr: true
soLinger: -1
tcpNoDelay: true
soRcvBuf: 87380
soSndBuf: 16384
ipTos: 0
allowHalfClosure: false
- connectTimeoutMillis: 10000
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -212,43 +212,43 @@ Apache ShenYu 选择器缓存配置
##### shenyu.NettyTcpProperties 配置
-Apache ShenYu Netty 配置
-
-| 名称 | 类型 | 默认值 | 是否必填 | 说明
|
-|:------------------------------|:-----
|:-------:|:--------:|:------------------------------------------------------------|
-| webServerFactoryEnabled | Boolean | true | 否 |
是否开启自定义参数,true-开启,false-可以自行配置NettyReactiveWebServerFactory |
-| selectCount | Integer | 1 | 否 | Netty 选择器数
|
-| workerCount | Integer | 4 | 否 | Netty 工作线程数
|
-| accessLog | Boolean | false | 否 | netty request
parameters. |
-| **ServerSocketChannelConfig** | | | |
|
-| soRcvBuf | Integer | 87380 | 否 |
Socket参数,TCP数据接收缓冲区大小 |
-| soBackLog | Integer | 128 | 否 |
Socket参数,服务端接受连接的队列长度 |
-| soReuseAddr | Boolean | false | 否 | Socket
参数,是否复用地址 |
-| connectTimeoutMillis | Integer | 10000 | 否 | Netty
参数,连接超时时间 |
-| writeBufferHighWaterMark | Integer | 65536 | 否 | Netty
参数,通道水位线上限 |
-| writeBufferLowWaterMark | Integer | 32768 | 否 | Netty
参数,通道水位线下限 |
-| writeSpinCount | Integer | 16 | 否 |
Netty参数,一个Loop写操作执行的最大次数 |
-| autoRead | Boolean | true | 否 | Netty参数,自动读取
|
-| allocType | String | pooled | 否 |
Netty参数,ByteBuf的分配器 |
-| messageSizeEstimator | Integer | 8 | 否 | Netty参数,
消息大小估算器, 用于估算ByteBuf,ByteBufHolder和FileRegion大小 |
-| singleEventExecutorPerGroup | Boolean | true | 否 | Netty参数,
单线程执行ChannelPipeline中的事件 |
-| **SocketChannelConfig** | | | |
|
-| soKeepAlive | Boolean | false | 否 | Socket
参数,是否启用心跳保活机制 |
-| soReuseAddr | Boolean | false | 否 | Socket
参数,是否复用地址 |
-| soLinger | Integer | -1 | 否 | Socket 参数,关闭
Socket 的延迟时间 |
-| tcpNoDelay | Boolean | true | 否 | Socket 参数,是否启用
Nagle 算法 |
-| soRcvBuf | Integer | 87380 | 否 |
Socket参数,TCP数据接收缓冲区大小 |
-| soSndBuf | Integer | 128 | 否 |
Socket参数,TCP数据发送缓冲区大小 |
-| ipTos | Integer | 0 | 否 |
IP参数,设置IP头部的Type-of-Service字段,用于描述IP包的优先级和QoS选项 |
-| allowHalfClosure | Boolean | false | 否 |
Netty参数,一个连接的远端关闭时本地端是否关闭 |
-| connectTimeoutMillis | Integer | 10000 | 否 | Netty
参数,连接超时时间 |
-| writeBufferHighWaterMark | Integer | 65536 | 否 | Netty
参数,通道水位线上限 |
-| writeBufferLowWaterMark | Integer | 32768 | 否 | Netty
参数,通道水位线下限 |
-| writeSpinCount | Integer | 16 | 否 |
Netty参数,一个Loop写操作执行的最大次数 |
-| autoRead | Boolean | true | 否 | Netty参数,自动读取
|
-| allocType | String | pooled | 否 |
Netty参数,ByteBuf的分配器 |
-| messageSizeEstimator | Integer | 8 | 否 | Netty参数,
消息大小估算器, 用于估算ByteBuf,ByteBufHolder和FileRegion大小 |
-| singleEventExecutorPerGroup | Boolean | true | 否 | Netty参数,
单线程执行ChannelPipeline中的事件 |
+Apache ShenYu reactor-netty 配置
+
+| 名称 | 类型 | 默认值 | 是否必填 | 说明
|
+|:------------------------------|:-----
|:------:|:--------:|:------------------------------------------------------------|
+| webServerFactoryEnabled | Boolean | true | 否 |
是否开启自定义参数,true-开启,false-可以自行配置NettyReactiveWebServerFactory |
+| selectCount | Integer | 1 | 否 | Netty 选择器数
|
+| workerCount | Integer | 4 | 否 | Netty 工作线程数
|
+| accessLog | Boolean | false | 否 | netty request
parameters. |
+| **ServerSocketChannelConfig** | | | |
|
+| soRcvBuf | Integer | -- | 否 |
Socket参数,TCP数据接收缓冲区大小,默认由系统决定 |
+| soBackLog | Integer | 128 | 否 |
Socket参数,服务端接受连接的队列长度 |
+| soReuseAddr | Boolean | true | 否 | Socket
参数,是否复用地址,reactor-netty中默认值为true |
+| connectTimeoutMillis | Integer | 30000 | 否 | Netty 参数,连接超时时间
|
+| writeBufferHighWaterMark | Integer | 65536 | 否 | Netty
参数,通道水位线上限 |
+| writeBufferLowWaterMark | Integer | 32768 | 否 | Netty
参数,通道水位线下限 |
+| writeSpinCount | Integer | 16 | 否 |
Netty参数,一个Loop写操作执行的最大次数 |
+| autoRead | Boolean | false | 否 |
Netty参数,自动读取,reactor-netty中默认值为false,且只能为false |
+| allocType | String | pooled | 否 |
Netty参数,ByteBuf的分配器 |
+| messageSizeEstimator | Integer | 8 | 否 | Netty参数,
消息大小估算器, 用于估算ByteBuf,ByteBufHolder和FileRegion大小 |
+| singleEventExecutorPerGroup | Boolean | true | 否 | Netty参数,
单线程执行ChannelPipeline中的事件 |
+| **SocketChannelConfig** | | | |
|
+| soKeepAlive | Boolean | false | 否 | Socket
参数,是否启用心跳保活机制 |
+| soReuseAddr | Boolean | true | 否 | Socket
参数,是否复用地址,reactor-netty中默认值为true |
+| soLinger | Integer | -1 | 否 | Socket 参数,关闭
Socket 的延迟时间 |
+| tcpNoDelay | Boolean | true | 否 | Socket 参数,是否启用
Nagle 算法 |
+| soRcvBuf | Integer | -- | 否 |
Socket参数,TCP数据接收缓冲区大小,默认由系统决定 |
+| soSndBuf | Integer | -- | 否 |
Socket参数,TCP数据发送缓冲区大小,默认由系统决定 |
+| ipTos | Integer | 0 | 否 |
IP参数,设置IP头部的Type-of-Service字段,用于描述IP包的优先级和QoS选项 |
+| allowHalfClosure | Boolean | false | 否 |
Netty参数,一个连接的远端关闭时本地端是否关闭 |
+| connectTimeoutMillis | Integer | 30000 | 否 | Netty
参数,连接超时时间 |
+| writeBufferHighWaterMark | Integer | 65536 | 否 | Netty
参数,通道水位线上限 |
+| writeBufferLowWaterMark | Integer | 32768 | 否 | Netty
参数,通道水位线下限 |
+| writeSpinCount | Integer | 16 | 否 |
Netty参数,一个Loop写操作执行的最大次数 |
+| autoRead | Boolean | false | 否 |
Netty参数,自动读取,reactor-netty中默认值为false,且只能为false |
+| allocType | String | pooled | 否 |
Netty参数,ByteBuf的分配器 |
+| messageSizeEstimator | Integer | 8 | 否 | Netty参数,
消息大小估算器, 用于估算ByteBuf,ByteBufHolder和FileRegion大小 |
+| singleEventExecutorPerGroup | Boolean | true | 否 | Netty参数,
单线程执行ChannelPipeline中的事件 |
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/version-2.5.1/user-guide/property-config/gateway-property-config.md
b/i18n/zh/docusaurus-plugin-content-docs/version-2.5.1/user-guide/property-config/gateway-property-config.md
index 48f7295ad3..457d1a403c 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/version-2.5.1/user-guide/property-config/gateway-property-config.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/version-2.5.1/user-guide/property-config/gateway-property-config.md
@@ -24,8 +24,8 @@ shenyu:
serverSocketChannel:
soRcvBuf: 87380
soBackLog: 128
- soReuseAddr: false
- connectTimeoutMillis: 10000
+ soReuseAddr: true
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -35,14 +35,14 @@ shenyu:
singleEventExecutorPerGroup: true
socketChannel:
soKeepAlive: false
- soReuseAddr: false
+ soReuseAddr: true
soLinger: -1
tcpNoDelay: true
soRcvBuf: 87380
soSndBuf: 16384
ipTos: 0
allowHalfClosure: false
- connectTimeoutMillis: 10000
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -212,7 +212,7 @@ Apache ShenYu 选择器缓存配置
##### shenyu.NettyTcpProperties 配置
-Apache ShenYu Netty 配置
+Apache ShenYu reactor-netty 配置
| 名称 | 类型 | 默认值 | 是否必填 | 说明
|
|:------------------------------|:-----
|:-------:|:--------:|:------------------------------------------------------------|
@@ -221,31 +221,31 @@ Apache ShenYu Netty 配置
| workerCount | Integer | 4 | 否 | Netty 工作线程数
|
| accessLog | Boolean | false | 否 | netty request
parameters. |
| **ServerSocketChannelConfig** | | | |
|
-| soRcvBuf | Integer | 87380 | 否 |
Socket参数,TCP数据接收缓冲区大小 |
+| soRcvBuf | Integer | -- | 否 |
Socket参数,TCP数据接收缓冲区大小,默认由系统决定 |
| soBackLog | Integer | 128 | 否 |
Socket参数,服务端接受连接的队列长度 |
-| soReuseAddr | Boolean | false | 否 | Socket
参数,是否复用地址 |
-| connectTimeoutMillis | Integer | 10000 | 否 | Netty
参数,连接超时时间 |
+| soReuseAddr | Boolean | true | 否 | Socket
参数,是否复用地址,reactor-netty中默认值为true |
+| connectTimeoutMillis | Integer | 30000 | 否 | Netty
参数,连接超时时间 |
| writeBufferHighWaterMark | Integer | 65536 | 否 | Netty
参数,通道水位线上限 |
| writeBufferLowWaterMark | Integer | 32768 | 否 | Netty
参数,通道水位线下限 |
| writeSpinCount | Integer | 16 | 否 |
Netty参数,一个Loop写操作执行的最大次数 |
-| autoRead | Boolean | true | 否 | Netty参数,自动读取
|
+| autoRead | Boolean | false | 否 |
Netty参数,自动读取,reactor-netty中默认值为false,且只能为false |
| allocType | String | pooled | 否 |
Netty参数,ByteBuf的分配器 |
| messageSizeEstimator | Integer | 8 | 否 | Netty参数,
消息大小估算器, 用于估算ByteBuf,ByteBufHolder和FileRegion大小 |
| singleEventExecutorPerGroup | Boolean | true | 否 | Netty参数,
单线程执行ChannelPipeline中的事件 |
| **SocketChannelConfig** | | | |
|
| soKeepAlive | Boolean | false | 否 | Socket
参数,是否启用心跳保活机制 |
-| soReuseAddr | Boolean | false | 否 | Socket
参数,是否复用地址 |
+| soReuseAddr | Boolean | true | 否 | Socket
参数,是否复用地址,reactor-netty中默认值为true |
| soLinger | Integer | -1 | 否 | Socket 参数,关闭
Socket 的延迟时间 |
| tcpNoDelay | Boolean | true | 否 | Socket 参数,是否启用
Nagle 算法 |
-| soRcvBuf | Integer | 87380 | 否 |
Socket参数,TCP数据接收缓冲区大小 |
-| soSndBuf | Integer | 128 | 否 |
Socket参数,TCP数据发送缓冲区大小 |
+| soRcvBuf | Integer | -- | 否 |
Socket参数,TCP数据接收缓冲区大小,默认由系统决定 |
+| soSndBuf | Integer | -- | 否 |
Socket参数,TCP数据发送缓冲区大小,默认由系统决定 |
| ipTos | Integer | 0 | 否 |
IP参数,设置IP头部的Type-of-Service字段,用于描述IP包的优先级和QoS选项 |
| allowHalfClosure | Boolean | false | 否 |
Netty参数,一个连接的远端关闭时本地端是否关闭 |
-| connectTimeoutMillis | Integer | 10000 | 否 | Netty
参数,连接超时时间 |
+| connectTimeoutMillis | Integer | 30000 | 否 | Netty
参数,连接超时时间 |
| writeBufferHighWaterMark | Integer | 65536 | 否 | Netty
参数,通道水位线上限 |
| writeBufferLowWaterMark | Integer | 32768 | 否 | Netty
参数,通道水位线下限 |
| writeSpinCount | Integer | 16 | 否 |
Netty参数,一个Loop写操作执行的最大次数 |
-| autoRead | Boolean | true | 否 | Netty参数,自动读取
|
+| autoRead | Boolean | false | 否 |
Netty参数,自动读取,reactor-netty中默认值为false,且只能为false |
| allocType | String | pooled | 否 |
Netty参数,ByteBuf的分配器 |
| messageSizeEstimator | Integer | 8 | 否 | Netty参数,
消息大小估算器, 用于估算ByteBuf,ByteBufHolder和FileRegion大小 |
| singleEventExecutorPerGroup | Boolean | true | 否 | Netty参数,
单线程执行ChannelPipeline中的事件 |
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/version-2.6.0/user-guide/property-config/gateway-property-config.md
b/i18n/zh/docusaurus-plugin-content-docs/version-2.6.0/user-guide/property-config/gateway-property-config.md
index dfdef9beb3..9cc9d17a13 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/version-2.6.0/user-guide/property-config/gateway-property-config.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/version-2.6.0/user-guide/property-config/gateway-property-config.md
@@ -43,8 +43,8 @@ shenyu:
serverSocketChannel:
soRcvBuf: 87380
soBackLog: 128
- soReuseAddr: false
- connectTimeoutMillis: 10000
+ soReuseAddr: true
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -54,14 +54,14 @@ shenyu:
singleEventExecutorPerGroup: true
socketChannel:
soKeepAlive: false
- soReuseAddr: false
+ soReuseAddr: true
soLinger: -1
tcpNoDelay: true
soRcvBuf: 87380
soSndBuf: 16384
ipTos: 0
allowHalfClosure: false
- connectTimeoutMillis: 10000
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -264,7 +264,7 @@ shenyu默认开启L1和L2缓存, shenyu前缀树支持两种匹配模式,我
##### shenyu.NettyTcpProperties 配置
-Apache ShenYu Netty 配置
+Apache ShenYu reactor-netty 配置
| 名称 | 类型 | 默认值 | 是否必填 | 说明
|
|:------------------------------|:-----
|:-------:|:--------:|:------------------------------------------------------------|
@@ -273,31 +273,31 @@ Apache ShenYu Netty 配置
| workerCount | Integer | 4 | 否 | Netty 工作线程数
|
| accessLog | Boolean | false | 否 | netty request
parameters. |
| **ServerSocketChannelConfig** | | | |
|
-| soRcvBuf | Integer | 87380 | 否 |
Socket参数,TCP数据接收缓冲区大小 |
+| soRcvBuf | Integer | -- | 否 |
Socket参数,TCP数据接收缓冲区大小,默认由系统决定 |
| soBackLog | Integer | 128 | 否 |
Socket参数,服务端接受连接的队列长度 |
-| soReuseAddr | Boolean | false | 否 | Socket
参数,是否复用地址 |
-| connectTimeoutMillis | Integer | 10000 | 否 | Netty
参数,连接超时时间 |
+| soReuseAddr | Boolean | true | 否 | Socket
参数,是否复用地址,reactor-netty中默认值为true |
+| connectTimeoutMillis | Integer | 30000 | 否 | Netty
参数,连接超时时间 |
| writeBufferHighWaterMark | Integer | 65536 | 否 | Netty
参数,通道水位线上限 |
| writeBufferLowWaterMark | Integer | 32768 | 否 | Netty
参数,通道水位线下限 |
| writeSpinCount | Integer | 16 | 否 |
Netty参数,一个Loop写操作执行的最大次数 |
-| autoRead | Boolean | true | 否 | Netty参数,自动读取
|
+| autoRead | Boolean | false | 否 |
Netty参数,自动读取,reactor-netty中默认值为false,且只能为false |
| allocType | String | pooled | 否 |
Netty参数,ByteBuf的分配器 |
| messageSizeEstimator | Integer | 8 | 否 | Netty参数,
消息大小估算器, 用于估算ByteBuf,ByteBufHolder和FileRegion大小 |
| singleEventExecutorPerGroup | Boolean | true | 否 | Netty参数,
单线程执行ChannelPipeline中的事件 |
| **SocketChannelConfig** | | | |
|
| soKeepAlive | Boolean | false | 否 | Socket
参数,是否启用心跳保活机制 |
-| soReuseAddr | Boolean | false | 否 | Socket
参数,是否复用地址 |
+| soReuseAddr | Boolean | true | 否 | Socket
参数,是否复用地址,reactor-netty中默认值为true |
| soLinger | Integer | -1 | 否 | Socket 参数,关闭
Socket 的延迟时间 |
| tcpNoDelay | Boolean | true | 否 | Socket 参数,是否启用
Nagle 算法 |
-| soRcvBuf | Integer | 87380 | 否 |
Socket参数,TCP数据接收缓冲区大小 |
-| soSndBuf | Integer | 128 | 否 |
Socket参数,TCP数据发送缓冲区大小 |
+| soRcvBuf | Integer | -- | 否 |
Socket参数,TCP数据接收缓冲区大小,默认由系统决定 |
+| soSndBuf | Integer | -- | 否 |
Socket参数,TCP数据发送缓冲区大小,默认由系统决定 |
| ipTos | Integer | 0 | 否 |
IP参数,设置IP头部的Type-of-Service字段,用于描述IP包的优先级和QoS选项 |
| allowHalfClosure | Boolean | false | 否 |
Netty参数,一个连接的远端关闭时本地端是否关闭 |
-| connectTimeoutMillis | Integer | 10000 | 否 | Netty
参数,连接超时时间 |
+| connectTimeoutMillis | Integer | 30000 | 否 | Netty
参数,连接超时时间 |
| writeBufferHighWaterMark | Integer | 65536 | 否 | Netty
参数,通道水位线上限 |
| writeBufferLowWaterMark | Integer | 32768 | 否 | Netty
参数,通道水位线下限 |
| writeSpinCount | Integer | 16 | 否 |
Netty参数,一个Loop写操作执行的最大次数 |
-| autoRead | Boolean | true | 否 | Netty参数,自动读取
|
+| autoRead | Boolean | false | 否 |
Netty参数,自动读取,reactor-netty中默认值为false,且只能为false |
| allocType | String | pooled | 否 |
Netty参数,ByteBuf的分配器 |
| messageSizeEstimator | Integer | 8 | 否 | Netty参数,
消息大小估算器, 用于估算ByteBuf,ByteBufHolder和FileRegion大小 |
| singleEventExecutorPerGroup | Boolean | true | 否 | Netty参数,
单线程执行ChannelPipeline中的事件 |
diff --git
a/versioned_docs/version-2.4.2/user-guide/property-config/gateway-property-config.md
b/versioned_docs/version-2.4.2/user-guide/property-config/gateway-property-config.md
index 6edec93b9a..bfdf9cfae0 100644
---
a/versioned_docs/version-2.4.2/user-guide/property-config/gateway-property-config.md
+++
b/versioned_docs/version-2.4.2/user-guide/property-config/gateway-property-config.md
@@ -20,27 +20,27 @@ shenyu:
serverSocketChannel:
soRcvBuf: 87380
soBackLog: 128
- soReuseAddr: false
- connectTimeoutMillis: 10000
+ soReuseAddr: true
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
- autoRead: true
+ autoRead: false
allocType: "pooled"
socketChannel:
soKeepAlive: false
- soReuseAddr: false
+ soReuseAddr: true
soLinger: -1
tcpNoDelay: true
soRcvBuf: 87380
soSndBuf: 16384
ipTos: 0
allowHalfClosure: false
- connectTimeoutMillis: 10000
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
- autoRead: true
+ autoRead: false
allocType: "pooled"
instance:
enabled: false
@@ -143,7 +143,7 @@ shenyu:
##### shenyu.NettyTcpProperties config
-`ShenYu` Netty config
+`ShenYu` reactor-netty config
|Name | Type | Default | Required | Description
|
|:------------------------ |:----- |:-------:
|:-------:|:----------------------------|
@@ -151,29 +151,29 @@ shenyu:
| selectCount | Integer | 1 | No | Number of netty selectors. |
| workerCount | Integer | 4 | No | Number of netty workers. |
| **ServerSocketChannelConfig** | | | | |
-| soRcvBuf | Integer | 87380 | No | Socket
config, the size of the socket receive buffer. |
+| soRcvBuf | Integer | -- | No | Socket config,
the size of the socket receive buffer. The default value is system dependent. |
| soBackLog | Integer | 128 | No | Socket
config, maximum length of the accept queue. |
-| soReuseAddr | Boolean | false | No | Socket
config, allow reuse of local addresses. |
-| connectTimeoutMillis | Integer | 10000 | No | Netty config,
the connect timeout of the channel in milliseconds. |
+| soReuseAddr | Boolean | true | No | Socket config,
allow reuse of local addresses. The default value in reactor-netty is true. |
+| connectTimeoutMillis | Integer | 30000 | No | Netty
config, the connect timeout of the channel in milliseconds. |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty config,
the high water mark of the write buffer. |
| writeBufferLowWaterMark | Integer | 32768 | No | Netty config,
the low water mark of the write buffer. |
| writeSpinCount | Integer | 16 | No | Netty config, the maximum loop count
for a write operation. |
-| autoRead | Boolean | true | No | Netty config, channel read method will be
invoked automatically so that a user application doesn't need to call it at
all. |
+| autoRead | Boolean | false | No | Netty
config, channel read method will be invoked automatically so that a user
application doesn't need to call it at all. The default value in reactor-netty
is false, and can only be false. |
| allocType | String | pooled | No | Netty config,
set the ByteBufAllocator which is used for the channel to allocate buffers. |
| **SocketChannelConfig** | | | | |
| soKeepAlive | Boolean | false | No | Socket config, enable tcp keepalive. |
-| soReuseAddr | Boolean | false | No | Socket config, allow reuse of local
addresses. |
+| soReuseAddr | Boolean | true | No | Socket config,
allow reuse of local addresses. The default value in reactor-netty is true. |
| soLinger | Integer | -1 | No | Socket config, the delay time for closing the
socket. |
| tcpNoDelay | Boolean | true | No | Socket config, enable Nagle algorithm. |
-| soRcvBuf | Integer | 87380 | No | Socket config, the size of the socket
receive buffer. |
-| soSndBuf | Integer | 128 | No | Socket config, the size of the socket send
buffer. |
+| soRcvBuf | Integer | -- | No | Socket
config, the size of the socket receive buffer. The default value is system
dependent. |
+| soSndBuf | Integer | -- | No | Socket
config, the size of the socket send buffer. The default value is system
dependent. |
| ipTos | Integer | 0 | No | IP config, the Type of Service (ToS) octet in the
Internet Protocol (IP) header. |
| allowHalfClosure | Boolean | false | No | Netty config, Sets whether the
channel should not close itself when its remote peer shuts down output to make
the connection half-closed. |
-| connectTimeoutMillis | Integer | 10000 | No | Netty config, the connect
timeout of the channel in milliseconds. |
+| connectTimeoutMillis | Integer | 30000 | No | Netty
config, the connect timeout of the channel in milliseconds. |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty config, the high
water mark of the write buffer. |
| writeBufferLowWaterMark | Integer | 32768 | No | Netty config, the low water
mark of the write buffer. |
| writeSpinCount | Integer | 16 | No | Netty config, the maximum loop count
for a write operation. |
-| autoRead | Boolean | true | No | Netty config, channel read method will be
invoked automatically so that a user application doesn't need to call it at
all. |
+| autoRead | Boolean | false | No | Netty
config, channel read method will be invoked automatically so that a user
application doesn't need to call it at all. The default value in reactor-netty
is false, and can only be false. |
| allocType | String | pooled | No | Netty config, set the ByteBufAllocator
which is used for the channel to allocate buffers. |
##### shenyu.instance config
diff --git
a/versioned_docs/version-2.4.3/user-guide/property-config/gateway-property-config.md
b/versioned_docs/version-2.4.3/user-guide/property-config/gateway-property-config.md
index 1bb0196978..cc288d1299 100644
---
a/versioned_docs/version-2.4.3/user-guide/property-config/gateway-property-config.md
+++
b/versioned_docs/version-2.4.3/user-guide/property-config/gateway-property-config.md
@@ -20,27 +20,27 @@ shenyu:
serverSocketChannel:
soRcvBuf: 87380
soBackLog: 128
- soReuseAddr: false
- connectTimeoutMillis: 10000
+ soReuseAddr: true
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
- autoRead: true
+ autoRead: false
allocType: "pooled"
socketChannel:
soKeepAlive: false
- soReuseAddr: false
+ soReuseAddr: true
soLinger: -1
tcpNoDelay: true
soRcvBuf: 87380
soSndBuf: 16384
ipTos: 0
allowHalfClosure: false
- connectTimeoutMillis: 10000
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
- autoRead: true
+ autoRead: false
allocType: "pooled"
instance:
enabled: false
@@ -150,38 +150,38 @@ shenyu:
##### shenyu.NettyTcpProperties config
-`ShenYu` Netty config
+`ShenYu` reactor-netty config
-|Name | Type | Default | Required | Description
|
-|:------------------------ |:----- |:-------:
|:-------:|:----------------------------|
-|webServerFactoryEnabled | Boolean | true | No | Whether to enable custom
parameters. True-enable. False-NettyReactiveWebServerFactory Can be configured
by yourself. |
-| selectCount | Integer | 1 | No | Number of netty selectors. |
-| workerCount | Integer | 4 | No | Number of netty workers. |
-| **ServerSocketChannelConfig** | | | | |
-| soRcvBuf | Integer | 87380 | No | Socket
config, the size of the socket receive buffer. |
+|Name | Type | Default | Required | Description
|
+|:------------------------ |:-----
|:-------:|:-------:|:----------------------------|
+|webServerFactoryEnabled | Boolean | true | No | Whether to enable custom
parameters. True-enable. False-NettyReactiveWebServerFactory Can be configured
by yourself. |
+| selectCount | Integer | 1 | No | Number of netty selectors. |
+| workerCount | Integer | 4 | No | Number of netty workers. |
+| **ServerSocketChannelConfig** | | | | |
+| soRcvBuf | Integer | -- | No | Socket
config, the size of the socket receive buffer. The default value is system
dependent. |
| soBackLog | Integer | 128 | No | Socket
config, maximum length of the accept queue. |
-| soReuseAddr | Boolean | false | No | Socket
config, allow reuse of local addresses. |
-| connectTimeoutMillis | Integer | 10000 | No | Netty config,
the connect timeout of the channel in milliseconds. |
+| soReuseAddr | Boolean | true | No | Socket
config, allow reuse of local addresses. The default value in reactor-netty is
true. |
+| connectTimeoutMillis | Integer | 30000 | No | Netty config,
the connect timeout of the channel in milliseconds. |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty config,
the high water mark of the write buffer. |
| writeBufferLowWaterMark | Integer | 32768 | No | Netty config,
the low water mark of the write buffer. |
-| writeSpinCount | Integer | 16 | No | Netty config, the maximum loop count
for a write operation. |
-| autoRead | Boolean | true | No | Netty config, channel read method will be
invoked automatically so that a user application doesn't need to call it at
all. |
+| writeSpinCount | Integer | 16 | No | Netty config, the maximum loop
count for a write operation. |
+| autoRead | Boolean | false | No | Netty config,
channel read method will be invoked automatically so that a user application
doesn't need to call it at all. The default value in reactor-netty is false,
and can only be false. |
| allocType | String | pooled | No | Netty config,
set the ByteBufAllocator which is used for the channel to allocate buffers. |
-| **SocketChannelConfig** | | | | |
-| soKeepAlive | Boolean | false | No | Socket config, enable tcp keepalive. |
-| soReuseAddr | Boolean | false | No | Socket config, allow reuse of local
addresses. |
-| soLinger | Integer | -1 | No | Socket config, the delay time for closing the
socket. |
-| tcpNoDelay | Boolean | true | No | Socket config, enable Nagle algorithm. |
-| soRcvBuf | Integer | 87380 | No | Socket config, the size of the socket
receive buffer. |
-| soSndBuf | Integer | 128 | No | Socket config, the size of the socket send
buffer. |
-| ipTos | Integer | 0 | No | IP config, the Type of Service (ToS) octet in the
Internet Protocol (IP) header. |
-| allowHalfClosure | Boolean | false | No | Netty config, Sets whether the
channel should not close itself when its remote peer shuts down output to make
the connection half-closed. |
-| connectTimeoutMillis | Integer | 10000 | No | Netty config, the connect
timeout of the channel in milliseconds. |
-| writeBufferHighWaterMark | Integer | 65536 | No | Netty config, the high
water mark of the write buffer. |
-| writeBufferLowWaterMark | Integer | 32768 | No | Netty config, the low water
mark of the write buffer. |
-| writeSpinCount | Integer | 16 | No | Netty config, the maximum loop count
for a write operation. |
-| autoRead | Boolean | true | No | Netty config, channel read method will be
invoked automatically so that a user application doesn't need to call it at
all. |
-| allocType | String | pooled | No | Netty config, set the ByteBufAllocator
which is used for the channel to allocate buffers. |
+| **SocketChannelConfig** | | | | |
+| soKeepAlive | Boolean | false | No | Socket config, enable tcp keepalive. |
+| soReuseAddr | Boolean | true | No | Socket
config, allow reuse of local addresses. The default value in reactor-netty is
true. |
+| soLinger | Integer | -1 | No | Socket config, the delay time for
closing the socket. |
+| tcpNoDelay | Boolean | true | No | Socket config, enable Nagle algorithm.
|
+| soRcvBuf | Integer | -- | No | Socket
config, the size of the socket receive buffer. The default value is system
dependent. |
+| soSndBuf | Integer | -- | No | Socket
config, the size of the socket send buffer. The default value is system
dependent. |
+| ipTos | Integer | 0 | No | IP config, the Type of Service (ToS) octet
in the Internet Protocol (IP) header. |
+| allowHalfClosure | Boolean | false | No | Netty config, Sets whether the
channel should not close itself when its remote peer shuts down output to make
the connection half-closed. |
+| connectTimeoutMillis | Integer | 30000 | No | Netty config,
the connect timeout of the channel in milliseconds. |
+| writeBufferHighWaterMark | Integer | 65536 | No | Netty config, the high
water mark of the write buffer. |
+| writeBufferLowWaterMark | Integer | 32768 | No | Netty config, the low
water mark of the write buffer. |
+| writeSpinCount | Integer | 16 | No | Netty config, the maximum loop
count for a write operation. |
+| autoRead | Boolean | false | No | Netty config,
channel read method will be invoked automatically so that a user application
doesn't need to call it at all. The default value in reactor-netty is false,
and can only be false. |
+| allocType | String | pooled | No | Netty config, set the ByteBufAllocator
which is used for the channel to allocate buffers. |
##### shenyu.instance config
diff --git
a/versioned_docs/version-2.5.0/user-guide/property-config/gateway-property-config.md
b/versioned_docs/version-2.5.0/user-guide/property-config/gateway-property-config.md
index 47b902908a..f9a38329c2 100644
---
a/versioned_docs/version-2.5.0/user-guide/property-config/gateway-property-config.md
+++
b/versioned_docs/version-2.5.0/user-guide/property-config/gateway-property-config.md
@@ -24,8 +24,8 @@ shenyu:
serverSocketChannel:
soRcvBuf: 87380
soBackLog: 128
- soReuseAddr: false
- connectTimeoutMillis: 10000
+ soReuseAddr: true
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -35,14 +35,14 @@ shenyu:
singleEventExecutorPerGroup: true
socketChannel:
soKeepAlive: false
- soReuseAddr: false
+ soReuseAddr: true
soLinger: -1
tcpNoDelay: true
soRcvBuf: 87380
soSndBuf: 16384
ipTos: 0
allowHalfClosure: false
- connectTimeoutMillis: 10000
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -212,7 +212,7 @@ The apache shenyu selector cache config.
##### shenyu.NettyTcpProperties config
-The apache shenyu netty config.
+The apache shenyu reactor-netty config.
| Name | Type | Default | Required | Description
|
|:------------------------------|:--------|:-------:|:--------:|:------------------------------------------------------------------------------------------------------------------------------------------|
@@ -221,31 +221,31 @@ The apache shenyu netty config.
| workerCount | Integer | 4 | No | Number of
netty workers.
|
| accessLog | Boolean | false | No | netty request
parameters.
|
| **ServerSocketChannelConfig** | | | |
|
-| soRcvBuf | Integer | 87380 | No | Socket
config, the size of the socket receive buffer.
|
+| soRcvBuf | Integer | -- | No | Socket config,
the size of the socket receive buffer. The default value is system dependent. |
| soBackLog | Integer | 128 | No | Socket
config, maximum length of the accept queue.
|
-| soReuseAddr | Boolean | false | No | Socket
config, allow reuse of local addresses.
|
-| connectTimeoutMillis | Integer | 10000 | No | Netty config,
the connect timeout of the channel in milliseconds.
|
+| soReuseAddr | Boolean | true | No | Socket config,
allow reuse of local addresses. The default value in reactor-netty is true. |
+| connectTimeoutMillis | Integer | 30000 | No | Netty
config, the connect timeout of the channel in milliseconds. |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty config,
the high water mark of the write buffer.
|
| writeBufferLowWaterMark | Integer | 32768 | No | Netty config,
the low water mark of the write buffer.
|
| writeSpinCount | Integer | 16 | No | Netty config,
the maximum loop count for a write operation.
|
-| autoRead | Boolean | true | No | Netty config,
channel read method will be invoked automatically so that a user application
doesn't need to call it at all. |
+| autoRead | Boolean | false | No | Netty
config, channel read method will be invoked automatically so that a user
application doesn't need to call it at all. The default value in reactor-netty
is false, and can only be false. |
| allocType | String | pooled | No | Netty config,
set the ByteBufAllocator which is used for the channel to allocate buffers.
|
| messageSizeEstimator | Integer | 8 | No | Netty config,
message size estimator, estimate ByteBuf,ByteBufHolder and FileRegion size.
|
| singleEventExecutorPerGroup | Boolean | true | No | Netty config,
single thread execute the event of ChannelPipeline.
|
| **SocketChannelConfig** | | | |
|
| soKeepAlive | Boolean | false | No | Socket
config, enable tcp keepalive.
|
-| soReuseAddr | Boolean | false | No | Socket
config, allow reuse of local addresses.
|
+| soReuseAddr | Boolean | true | No | Socket config,
allow reuse of local addresses. The default value in reactor-netty is true. |
| soLinger | Integer | -1 | No | Socket
config, the delay time for closing the socket.
|
| tcpNoDelay | Boolean | true | No | Socket
config, enable Nagle algorithm.
|
-| soRcvBuf | Integer | 87380 | No | Socket
config, the size of the socket receive buffer.
|
-| soSndBuf | Integer | 128 | No | Socket
config, the size of the socket send buffer.
|
+| soRcvBuf | Integer | -- | No | Socket
config, the size of the socket receive buffer. The default value is system
dependent. |
+| soSndBuf | Integer | -- | No | Socket
config, the size of the socket send buffer. The default value is system
dependent. |
| ipTos | Integer | 0 | No | IP config,
the Type of Service (ToS) octet in the Internet Protocol (IP) header.
|
| allowHalfClosure | Boolean | false | No | Netty config,
Sets whether the channel should not close itself when its remote peer shuts
down output to make the connection half-closed. |
-| connectTimeoutMillis | Integer | 10000 | No | Netty config,
the connect timeout of the channel in milliseconds.
|
+| connectTimeoutMillis | Integer | 30000 | No | Netty
config, the connect timeout of the channel in milliseconds. |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty config,
the high water mark of the write buffer.
|
| writeBufferLowWaterMark | Integer | 32768 | No | Netty config,
the low water mark of the write buffer.
|
| writeSpinCount | Integer | 16 | No | Netty config,
the maximum loop count for a write operation.
|
-| autoRead | Boolean | true | No | Netty config,
channel read method will be invoked automatically so that a user application
doesn't need to call it at all. |
+| autoRead | Boolean | false | No | Netty
config, channel read method will be invoked automatically so that a user
application doesn't need to call it at all. The default value in reactor-netty
is false, and can only be false. |
| allocType | String | pooled | No | Netty config,
set the ByteBufAllocator which is used for the channel to allocate buffers.
|
| messageSizeEstimator | Integer | 8 | No | Netty config,
message size estimator, estimate ByteBuf,ByteBufHolder and FileRegion size.
|
| singleEventExecutorPerGroup | Boolean | true | No | Netty config,
single thread execute the event of ChannelPipeline.
|
diff --git
a/versioned_docs/version-2.5.1/user-guide/property-config/gateway-property-config.md
b/versioned_docs/version-2.5.1/user-guide/property-config/gateway-property-config.md
index 332a996b75..04a9a77666 100644
---
a/versioned_docs/version-2.5.1/user-guide/property-config/gateway-property-config.md
+++
b/versioned_docs/version-2.5.1/user-guide/property-config/gateway-property-config.md
@@ -24,8 +24,8 @@ shenyu:
serverSocketChannel:
soRcvBuf: 87380
soBackLog: 128
- soReuseAddr: false
- connectTimeoutMillis: 10000
+ soReuseAddr: true
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -35,14 +35,14 @@ shenyu:
singleEventExecutorPerGroup: true
socketChannel:
soKeepAlive: false
- soReuseAddr: false
+ soReuseAddr: true
soLinger: -1
tcpNoDelay: true
soRcvBuf: 87380
soSndBuf: 16384
ipTos: 0
allowHalfClosure: false
- connectTimeoutMillis: 10000
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -212,7 +212,7 @@ The apache shenyu selector cache config.
##### shenyu.NettyTcpProperties config
-The apache shenyu netty config.
+The apache shenyu reactor-netty config.
| Name | Type | Default | Required | Description
|
|:------------------------------|:--------|:-------:|:--------:|:------------------------------------------------------------------------------------------------------------------------------------------|
@@ -221,31 +221,31 @@ The apache shenyu netty config.
| workerCount | Integer | 4 | No | Number of
netty workers.
|
| accessLog | Boolean | false | No | netty request
parameters.
|
| **ServerSocketChannelConfig** | | | |
|
-| soRcvBuf | Integer | 87380 | No | Socket
config, the size of the socket receive buffer.
|
+| soRcvBuf | Integer | -- | No | Socket config,
the size of the socket receive buffer. The default value is system dependent. |
| soBackLog | Integer | 128 | No | Socket
config, maximum length of the accept queue.
|
-| soReuseAddr | Boolean | false | No | Socket
config, allow reuse of local addresses.
|
-| connectTimeoutMillis | Integer | 10000 | No | Netty config,
the connect timeout of the channel in milliseconds.
|
+| soReuseAddr | Boolean | true | No | Socket config,
allow reuse of local addresses. The default value in reactor-netty is true. |
+| connectTimeoutMillis | Integer | 30000 | No | Netty
config, the connect timeout of the channel in milliseconds. |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty config,
the high water mark of the write buffer.
|
| writeBufferLowWaterMark | Integer | 32768 | No | Netty config,
the low water mark of the write buffer.
|
| writeSpinCount | Integer | 16 | No | Netty config,
the maximum loop count for a write operation.
|
-| autoRead | Boolean | true | No | Netty config,
channel read method will be invoked automatically so that a user application
doesn't need to call it at all. |
+| autoRead | Boolean | false | No | Netty
config, channel read method will be invoked automatically so that a user
application doesn't need to call it at all. The default value in reactor-netty
is false, and can only be false. |
| allocType | String | pooled | No | Netty config,
set the ByteBufAllocator which is used for the channel to allocate buffers.
|
| messageSizeEstimator | Integer | 8 | No | Netty config,
message size estimator, estimate ByteBuf,ByteBufHolder and FileRegion size.
|
| singleEventExecutorPerGroup | Boolean | true | No | Netty config,
single thread execute the event of ChannelPipeline.
|
| **SocketChannelConfig** | | | |
|
| soKeepAlive | Boolean | false | No | Socket
config, enable tcp keepalive.
|
-| soReuseAddr | Boolean | false | No | Socket
config, allow reuse of local addresses.
|
+| soReuseAddr | Boolean | true | No | Socket config,
allow reuse of local addresses. The default value in reactor-netty is true. |
| soLinger | Integer | -1 | No | Socket
config, the delay time for closing the socket.
|
| tcpNoDelay | Boolean | true | No | Socket
config, enable Nagle algorithm.
|
-| soRcvBuf | Integer | 87380 | No | Socket
config, the size of the socket receive buffer.
|
-| soSndBuf | Integer | 128 | No | Socket
config, the size of the socket send buffer.
|
+| soRcvBuf | Integer | -- | No | Socket
config, the size of the socket receive buffer. The default value is system
dependent. |
+| soSndBuf | Integer | -- | No | Socket
config, the size of the socket send buffer. The default value is system
dependent. |
| ipTos | Integer | 0 | No | IP config,
the Type of Service (ToS) octet in the Internet Protocol (IP) header.
|
| allowHalfClosure | Boolean | false | No | Netty config,
Sets whether the channel should not close itself when its remote peer shuts
down output to make the connection half-closed. |
-| connectTimeoutMillis | Integer | 10000 | No | Netty config,
the connect timeout of the channel in milliseconds.
|
+| connectTimeoutMillis | Integer | 30000 | No | Netty
config, the connect timeout of the channel in milliseconds. |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty config,
the high water mark of the write buffer.
|
| writeBufferLowWaterMark | Integer | 32768 | No | Netty config,
the low water mark of the write buffer.
|
| writeSpinCount | Integer | 16 | No | Netty config,
the maximum loop count for a write operation.
|
-| autoRead | Boolean | true | No | Netty config,
channel read method will be invoked automatically so that a user application
doesn't need to call it at all. |
+| autoRead | Boolean | false | No | Netty
config, channel read method will be invoked automatically so that a user
application doesn't need to call it at all. The default value in reactor-netty
is false, and can only be false. |
| allocType | String | pooled | No | Netty config,
set the ByteBufAllocator which is used for the channel to allocate buffers.
|
| messageSizeEstimator | Integer | 8 | No | Netty config,
message size estimator, estimate ByteBuf,ByteBufHolder and FileRegion size.
|
| singleEventExecutorPerGroup | Boolean | true | No | Netty config,
single thread execute the event of ChannelPipeline.
|
diff --git
a/versioned_docs/version-2.6.0/user-guide/property-config/gateway-property-config.md
b/versioned_docs/version-2.6.0/user-guide/property-config/gateway-property-config.md
index 5efa94c9e4..9735019636 100644
---
a/versioned_docs/version-2.6.0/user-guide/property-config/gateway-property-config.md
+++
b/versioned_docs/version-2.6.0/user-guide/property-config/gateway-property-config.md
@@ -43,8 +43,8 @@ shenyu:
serverSocketChannel:
soRcvBuf: 87380
soBackLog: 128
- soReuseAddr: false
- connectTimeoutMillis: 10000
+ soReuseAddr: true
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -54,14 +54,14 @@ shenyu:
singleEventExecutorPerGroup: true
socketChannel:
soKeepAlive: false
- soReuseAddr: false
+ soReuseAddr: true
soLinger: -1
tcpNoDelay: true
soRcvBuf: 87380
soSndBuf: 16384
ipTos: 0
allowHalfClosure: false
- connectTimeoutMillis: 10000
+ connectTimeoutMillis: 30000
writeBufferHighWaterMark: 65536
writeBufferLowWaterMark: 32768
writeSpinCount: 16
@@ -264,7 +264,7 @@ when you mark `matchRestful` as true, we suggest mark all
cache to `false` to av
##### shenyu.NettyTcpProperties config
-The apache shenyu netty config.
+The apache shenyu reactor-netty config.
| Name | Type | Default | Required | Description
|
|:------------------------------|:--------|:-------:|:--------:|:------------------------------------------------------------------------------------------------------------------------------------------|
@@ -273,31 +273,31 @@ The apache shenyu netty config.
| workerCount | Integer | 4 | No | Number of
netty workers.
|
| accessLog | Boolean | false | No | netty request
parameters.
|
| **ServerSocketChannelConfig** | | | |
|
-| soRcvBuf | Integer | 87380 | No | Socket
config, the size of the socket receive buffer.
|
+| soRcvBuf | Integer | -- | No | Socket config,
the size of the socket receive buffer. The default value is system dependent. |
| soBackLog | Integer | 128 | No | Socket
config, maximum length of the accept queue.
|
-| soReuseAddr | Boolean | false | No | Socket
config, allow reuse of local addresses.
|
-| connectTimeoutMillis | Integer | 10000 | No | Netty config,
the connect timeout of the channel in milliseconds.
|
+| soReuseAddr | Boolean | true | No | Socket config,
allow reuse of local addresses. The default value in reactor-netty is true. |
+| connectTimeoutMillis | Integer | 30000 | No | Netty
config, the connect timeout of the channel in milliseconds. |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty config,
the high water mark of the write buffer.
|
| writeBufferLowWaterMark | Integer | 32768 | No | Netty config,
the low water mark of the write buffer.
|
| writeSpinCount | Integer | 16 | No | Netty config,
the maximum loop count for a write operation.
|
-| autoRead | Boolean | true | No | Netty config,
channel read method will be invoked automatically so that a user application
doesn't need to call it at all. |
+| autoRead | Boolean | false | No | Netty
config, channel read method will be invoked automatically so that a user
application doesn't need to call it at all. The default value in reactor-netty
is false, and can only be false. |
| allocType | String | pooled | No | Netty config,
set the ByteBufAllocator which is used for the channel to allocate buffers.
|
| messageSizeEstimator | Integer | 8 | No | Netty config,
message size estimator, estimate ByteBuf,ByteBufHolder and FileRegion size.
|
| singleEventExecutorPerGroup | Boolean | true | No | Netty config,
single thread execute the event of ChannelPipeline.
|
| **SocketChannelConfig** | | | |
|
| soKeepAlive | Boolean | false | No | Socket
config, enable tcp keepalive.
|
-| soReuseAddr | Boolean | false | No | Socket
config, allow reuse of local addresses.
|
+| soReuseAddr | Boolean | true | No | Socket config,
allow reuse of local addresses. The default value in reactor-netty is true. |
| soLinger | Integer | -1 | No | Socket
config, the delay time for closing the socket.
|
| tcpNoDelay | Boolean | true | No | Socket
config, enable Nagle algorithm.
|
-| soRcvBuf | Integer | 87380 | No | Socket
config, the size of the socket receive buffer.
|
-| soSndBuf | Integer | 128 | No | Socket
config, the size of the socket send buffer.
|
+| soRcvBuf | Integer | -- | No | Socket
config, the size of the socket receive buffer. The default value is system
dependent. |
+| soSndBuf | Integer | -- | No | Socket
config, the size of the socket send buffer. The default value is system
dependent. |
| ipTos | Integer | 0 | No | IP config,
the Type of Service (ToS) octet in the Internet Protocol (IP) header.
|
| allowHalfClosure | Boolean | false | No | Netty config,
Sets whether the channel should not close itself when its remote peer shuts
down output to make the connection half-closed. |
-| connectTimeoutMillis | Integer | 10000 | No | Netty config,
the connect timeout of the channel in milliseconds.
|
+| connectTimeoutMillis | Integer | 30000 | No | Netty
config, the connect timeout of the channel in milliseconds. |
| writeBufferHighWaterMark | Integer | 65536 | No | Netty config,
the high water mark of the write buffer.
|
| writeBufferLowWaterMark | Integer | 32768 | No | Netty config,
the low water mark of the write buffer.
|
| writeSpinCount | Integer | 16 | No | Netty config,
the maximum loop count for a write operation.
|
-| autoRead | Boolean | true | No | Netty config,
channel read method will be invoked automatically so that a user application
doesn't need to call it at all. |
+| autoRead | Boolean | false | No | Netty
config, channel read method will be invoked automatically so that a user
application doesn't need to call it at all. The default value in reactor-netty
is false, and can only be false. |
| allocType | String | pooled | No | Netty config,
set the ByteBufAllocator which is used for the channel to allocate buffers.
|
| messageSizeEstimator | Integer | 8 | No | Netty config,
message size estimator, estimate ByteBuf,ByteBufHolder and FileRegion size.
|
| singleEventExecutorPerGroup | Boolean | true | No | Netty config,
single thread execute the event of ChannelPipeline.
|