AFAIK, there is no way to achieve such functionality. The only way I have figured out have similar functionality is to write a plugin with a cluster state listener and have the plugin reach out to some external service.
Cheers, Ivan On Thu, Aug 21, 2014 at 10:02 AM, 'Sandeep Ramesh Khanzode' via elasticsearch <[email protected]> wrote: > Hi, > > Is it possible to have my custom callback function defined and invoked by > ES whenever it moves a shard from one node to another? > > Thanks, > Sandeep > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/9b792e04-8bd1-4006-93a2-f3d736cd8474%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/9b792e04-8bd1-4006-93a2-f3d736cd8474%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQDMCNNsvAv2r0bRsog6a2oow9bYSyQ-CZtcxtcgkUJtRQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
