Skip to content

Commit ab841ba

Browse files
authored
[client] Change the default value of 'netty.client.num-network-threads' to 3 to avoid netty channel congestion (apache#1642)
1 parent f0b697e commit ab841ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fluss-common/src/main/java/org/apache/fluss/config/ConfigOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,10 +739,10 @@ public class ConfigOptions {
739739
public static final ConfigOption<Integer> NETTY_CLIENT_NUM_NETWORK_THREADS =
740740
key("netty.client.num-network-threads")
741741
.intType()
742-
.defaultValue(1)
742+
.defaultValue(3)
743743
.withDescription(
744744
"The number of threads that the client uses for sending requests to the "
745-
+ "network and receiving responses from network. The default value is 1");
745+
+ "network and receiving responses from network. The default value is 3");
746746

747747
// ------------------------------------------------------------------------
748748
// Client Settings

website/docs/maintenance/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ during the Fluss cluster working.
8989
| netty.server.num-worker-threads | Integer | 8 | The number of threads that the server uses for processing requests, which may include disk and remote I/O. |
9090
| netty.server.max-queued-requests | Integer | 500 | The number of queued requests allowed for worker threads, before blocking the I/O threads. |
9191
| netty.connection.max-idle-time | Duration | 10min | Close idle connections after the given time specified by this config. |
92-
| netty.client.num-network-threads | Integer | 1 | The number of threads that the client uses for sending requests to the network and receiving responses from network. The default value is 1 |
92+
| netty.client.num-network-threads | Integer | 3 | The number of threads that the client uses for sending requests to the network and receiving responses from network. The default value is 3 |
9393

9494
## Log
9595

0 commit comments

Comments
 (0)