Does the Elasticsearch Transport Client for Java API support connection pooling?


(Mahesh Deshpande) #1

Does the Elasticsearch Transport Client for Java API support connection pooling ? I'm using a Spring boot application(elasticsearch repository) that talks to Elasticsearch.


(Jörg Prante) #2

Yes, TransportClient uses pooling and connects to multiple nodes of the cluster, also with automatic reconnects ("sniff mode"). Commands are sent in round-robin style to connected nodes.


(Mahesh Deshpande) #3

Thanks a lot for sharing the details Jörg Prante.


(system) #4