private ImmutablePair<CacheType, Map<String, CacheClusterConfig>> buildCacheClusterConfig(
                CacheClusterSetObject clusterSetObject) {
            CacheType mqType = CacheType.convert(clusterSetObject.getType());
            Map<String, CacheClusterConfig> result = new HashMap<>();
            for (CacheClusterObject clusterObject : clusterSetObject.getCacheClusters()) {
                if (clusterObject == null || StringUtils.isBlank(clusterObject.getName())) {
                    continue;
                }
                CacheClusterConfig config = new CacheClusterConfig();
                config.setClusterName(clusterObject.getName());
                config.setToken(clusterObject.getToken());
                config.getParams().putAll(clusterObject.getParams());
                result.put(config.getClusterName(), config);
            }
            return ImmutablePair.of(mqType, result);
        }
build cluster config based on cluster set object

@param clusterSetObject  mq cluster set obect

@return   mq type and cluster set configure
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/config/ConfigManager.java