public void setNettyWriteBufferHighWaterMark(long nettyWriteBufferHighWaterMark) {
        if (nettyWriteBufferHighWaterMark >= Integer.MAX_VALUE) {
            this.nettyWriteBufferHighWaterMark = Integer.MAX_VALUE - 1;
        } else if (nettyWriteBufferHighWaterMark <= 0) {
            this.nettyWriteBufferHighWaterMark =
                    RpcConstants.CFG_DEFAULT_NETTY_WRITEBUFFER_HIGH_MARK;
        } else {
            this.nettyWriteBufferHighWaterMark =
                    nettyWriteBufferHighWaterMark;
        }
    }
Set the netty work memory size. Please notice that the value must be larger than 0.

@param rpcNettyWorkMemorySize netty work memory size.
inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/config/TubeClientConfig.java