public void setHttpCloseWaitPeriodMs(long httpCloseWaitPeriodMs) {
        this.httpCloseWaitPeriodMs = httpCloseWaitPeriodMs;
        this.httpCloseWaitPeriodMs =
                Math.min(SdkConsts.VAL_MAX_HTTP_SDK_CLOSE_WAIT_MS,
                        Math.max(SdkConsts.VAL_MIN_HTTP_SDK_CLOSE_WAIT_MS, httpCloseWaitPeriodMs));
    }
HTTP Message Sender configuration:

Used to define the setting related to the sender reporting data using the HTTP protocol, including
whether to use HTTPS for reporting, the separator character between message bodies when
 reporting multiple messages, HTTP timeout setting, message queue during HTTP asynchronous sending,
 and the number of sending threads, etc.
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/sender/http/HttpMsgSenderConfig.java