public static Map<Integer, BrokerInfo> convertBrokerInfo(List<String> strBrokerInfos,
            boolean enableTLS) {
        Map<Integer, BrokerInfo> brokerInfoMap =
                new ConcurrentHashMap<>();
        if (strBrokerInfos != null) {
            int brokerPort = enableTLS
                    ? TBaseConstants.META_DEFAULT_BROKER_TLS_PORT
                    : TBaseConstants.META_DEFAULT_BROKER_PORT;
            for (String info : strBrokerInfos) {
                if (info != null) {
                    BrokerInfo brokerInfo =
                            new BrokerInfo(info, brokerPort);
                    brokerInfoMap.put(brokerInfo.getBrokerId(), brokerInfo);
                }
            }
        }
        return brokerInfoMap;
    }
convert string info to @link BrokerInfo

@param strBrokerInfos return a BrokerInfo Map
@param enableTLS   Whether to enable TLS
inlong-tubemq/tubemq-core/src/main/java/org/apache/inlong/tubemq/corebase/utils/DataConverterUtil.java