elasticsearch.client (
elasticsearch_urls : ["http://node1", "http://node2"]
)
// Using a Supplier that can "sniff" for hosts or do it in any other way.
// Supplier would be invoked for each request.
elasticsearch.client (
elasticsearch_supplier : myCustomSupplier
)
Perhaps we should implement the sniffing as well based on the hosts that we get.
Perhaps a separate use_ssl config is better and then have elasticsearch_hosts as config.
Perhaps we should implement the sniffing as well based on the hosts that we get. Perhaps a separate use_ssl config is better and then have elasticsearch_hosts as config.