public void setRcvBufferSize(int rcvBufferSize) {
        this.rcvBufferSize = Math.min(rcvBufferSize, Integer.MAX_VALUE - 1);
    }
TCP Message Sender configuration:

Used to define the setting related to the sender reporting data using the TCP protocol, including
the message type, request timeout, whether to enable data compression,
the number of netty worker threads, and other configuration settings
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/sender/tcp/TcpMsgSenderConfig.java