@Override
    public void initClient0(@NonNull final HuaweiLogCollectConfig.HuaweiLtsLogConfig huaweiLtsLogConfig) {
        final String accessKeyId = huaweiLtsLogConfig.getAccessKeyId();
        final String accessKeySecret = huaweiLtsLogConfig.getAccessKeySecret();
        final String regionName = huaweiLtsLogConfig.getRegionName();
        this.projectId = huaweiLtsLogConfig.getProjectId();
        this.logGroupId = huaweiLtsLogConfig.getLogGroupId();
        this.logStreamId = huaweiLtsLogConfig.getLogStreamId();
        if (StringUtils.isBlank(accessKeyId) || StringUtils.isBlank(accessKeySecret) || StringUtils.isBlank(projectId)
                || StringUtils.isBlank(regionName) || StringUtils.isBlank(logGroupId) || StringUtils.isBlank(logStreamId)) {
            LOG.error("init Huawei lts client error, please check projectId, accessKeyId, accessKeySecret, regionName, logGroupId or logStreamId");
            return;
        }
        JavaSDKAppender appender = JavaSDKAppender.custom()
                .setProjectId(projectId)
                .setAccessKeyId(accessKeyId)
                .setAccessKeySecret(accessKeySecret)
                .setRegionName(regionName)
                .setTotalSizeInBytes(huaweiLtsLogConfig.getTotalSizeInBytes())
                .setMaxBlockMs(huaweiLtsLogConfig.getMaxBlockMs())
                .setBatchSizeThresholdInBytes(huaweiLtsLogConfig.getBatchSizeThresholdInBytes())
                .setBatchCountThreshold(huaweiLtsLogConfig.getBatchCountThreshold())
                .setLingerMs(huaweiLtsLogConfig.getLingerMs())
                .setRetries(huaweiLtsLogConfig.getRetries())
                .setBaseRetryBackoffMs(huaweiLtsLogConfig.getBaseRetryBackoffMs())
                .setMaxRetryBackoffMs(huaweiLtsLogConfig.getMaxRetryBackoffMs())
                .setEnableLocalTest(Boolean.parseBoolean(huaweiLtsLogConfig.getEnableLocalTest()))
                .setGiveUpExtraLongSingleLog(Boolean.parseBoolean(huaweiLtsLogConfig.getEnableLocalTest()))
                .builder();
        this.producer = appender.getProducer();

        threadExecutor = createThreadPoolExecutor(huaweiLtsLogConfig.getIoThreadCount());
    }
init Huawei lts client.

@param huaweiLtsLogConfig shenyu log config
shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-huawei-lts/src/main/java/org/apache/shenyu/plugin/huawei/lts/client/HuaweiLtsLogCollectClient.java