@Override
    public void initClient0(@NonNull final AliyunLogCollectConfig.AliyunSlsLogConfig config) {
        String accessId = config.getAccessId();
        String accessKey = config.getAccessKey();
        String host = config.getHost();
        if (StringUtils.isBlank(accessId) || StringUtils.isBlank(accessKey) || StringUtils.isBlank(host)) {
            LOG.error("init aliyun sls client error, please check accessId, accessKey or host");
            return;
        }
        client = new Client(host, accessId, accessKey);
        // create LogStore, if you don't create logStore, shenyu will do it.
        projectName = config.getProjectName();
        topic = config.getTopic();
        logStore = config.getLogStoreName();
        int ttlInDay = config.getTtlInDay();
        int shardCount = config.getShardCount();
        // init projectConfig, producer, logStore
        ProjectConfig projectConfig = new ProjectConfig(projectName, host, accessId, accessKey);
        producer = createProducer(config, projectConfig);
        LogStore store = new LogStore(logStore, ttlInDay, shardCount);
        threadExecutor = createThreadPoolExecutor(config);
        try {
            client.CreateLogStore(projectName, store);
        } catch (LogException e) {
            LOG.warn("error code:{}, error message:{}", e.GetErrorCode(), e.GetErrorMessage());
        }
    }
init aliyun sls client.

@param config config
shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-aliyun-sls/src/main/java/org/apache/shenyu/plugin/aliyun/sls/client/AliyunSlsLogCollectClient.java