public List<HttpHost> getHosts() {
        return config.get(HOSTS_OPTION).stream()
                .map(Elasticsearch6Configuration::validateAndParseHostsString)
                .collect(Collectors.toList());
    }
Parse Hosts String to list.

<p>Hosts String format was given as following:

<pre>
    connector.hosts = http://host_name:9092;http://host_name:9093
</pre>
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/elasticsearch-6/src/main/java/org/apache/inlong/sort/elasticsearch6/table/Elasticsearch6Configuration.java