public static Configuration getConfiguration(final String s) {
        final Configuration conf = new Configuration();
        if (StringUtils.isBlank(s)) {
            return conf;
        }
        if (conf.parse(s)) {
            return conf;
        }
        throw new IllegalArgumentException("Invalid conf str:" + s);
    }
Create a configuration from a string in the form of "host1:port1[:idx],host2:port2[:idx]......",
returns a empty configuration when string is blank.
jraft-core/src/main/java/com/alipay/sofa/jraft/JRaftUtils.java