2
votes

I am using Rest Client of Elastic Search and Elastic Search will have Nodes in a cluster.

If I connect to one node then will it automatically find other nodes of cluster while processing the request and do load balancing ?

Or I need to take care of that while creating the Rest Client?

1
Hi, did my answer help you? Please vote if yes!Andre Piantino

1 Answers

0
votes

If "sniffer" is active, before the request (in background) the client will update your internal list of node data. It works for default client and Rest Client. The master node (defined in the cluster configuration) will do the load balancing.