Chetana, Sadly, the Elasticsearch google groups is not used anymore. Elastic switched over to the much inferior Discuss platform: discuss.elastic.co Try asking your question over there.
AFAIK, there is no node discoverability feature, but as a user of the Java binary API, I could be wrong. I believe most HTTP/REST clients provide an entire list of nodes to the client application, and the HTTP libraries will simply round robin between them. You can always use the cluster state API to retrieve the list of nodes. Many APIs return the relevant info: https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-nodes.html On Mon, May 16, 2016 at 9:14 PM, Chetana <ambha.car...@gmail.com> wrote: > I have created a custom REST plugin by extending BaseRestHandler. > Initially there was only one node cluster we used Java's HttpURLConnection > for invoking plugin functionality. Now we have 2-node cluster and plugin > is installed on both the nodes. Also, the cluster is formed and nodes are > discovered after changing elasticsearch.yml file . > > But for load balancing of custom plugin invocation is there any built-in > plugin or elastic search feature available and it should also switch node > when one node goes down > > > Thanks, > Chetana > > -- > Please update your bookmarks! We have moved to https://discuss.elastic.co/ > --- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/7c203f04-2fbc-474f-9f63-7a4ef16aa568%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/7c203f04-2fbc-474f-9f63-7a4ef16aa568%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Please update your bookmarks! We have moved to https://discuss.elastic.co/ --- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQA0sx8vb5sKp7jnmpvDsceK8%2BguZntcxwqKb%2BcCgERSBw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.