[
https://issues.apache.org/jira/browse/ROCKETMQ-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16289146#comment-16289146
]
ASF GitHub Bot commented on ROCKETMQ-308:
-----------------------------------------
vongosling closed pull request #199: [ROCKETMQ-308] Increasing name server
component network socket buffer size
URL: https://github.com/apache/rocketmq/pull/199
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvStartup.java
b/namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvStartup.java
index 760a61be..0a0c6562 100644
--- a/namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvStartup.java
+++ b/namesrv/src/main/java/org/apache/rocketmq/namesrv/NamesrvStartup.java
@@ -32,7 +32,6 @@
import org.apache.rocketmq.common.constant.LoggerName;
import org.apache.rocketmq.common.namesrv.NamesrvConfig;
import org.apache.rocketmq.remoting.netty.NettyServerConfig;
-import org.apache.rocketmq.remoting.netty.NettySystemConfig;
import org.apache.rocketmq.remoting.protocol.RemotingCommand;
import org.apache.rocketmq.srvutil.ServerUtil;
import org.apache.rocketmq.srvutil.ShutdownHookThread;
@@ -49,15 +48,6 @@ public static void main(String[] args) {
public static NamesrvController main0(String[] args) {
System.setProperty(RemotingCommand.REMOTING_VERSION_KEY,
Integer.toString(MQVersion.CURRENT_VERSION));
-
- if (null ==
System.getProperty(NettySystemConfig.COM_ROCKETMQ_REMOTING_SOCKET_SNDBUF_SIZE))
{
- NettySystemConfig.socketSndbufSize = 4096;
- }
-
- if (null ==
System.getProperty(NettySystemConfig.COM_ROCKETMQ_REMOTING_SOCKET_RCVBUF_SIZE))
{
- NettySystemConfig.socketRcvbufSize = 4096;
- }
-
try {
//PackageConflictDetect.detectFastjson();
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> increasing name server component network socket buffer size, improve broker
> register speed
> ------------------------------------------------------------------------------------------
>
> Key: ROCKETMQ-308
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-308
> Project: Apache RocketMQ
> Issue Type: Improvement
> Components: rocketmq-namesrv
> Affects Versions: 4.0.0-incubating, 4.1.0-incubating
> Reporter: yubaofu
> Assignee: Xiaorui Wang
> Priority: Trivial
> Fix For: 4.2.0
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)