Does the Elasticsearch Transport Client for Java API support connection pooling ? I'm using a Spring boot application(elasticsearch repository) that talks to Elasticsearch.
maheshraju (Mahesh Deshpande) #1
jprante (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.
maheshraju (Mahesh Deshpande) #3
Thanks a lot for sharing the details Jörg Prante.
system (system) #4