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