Java Plugin for Detection changes in clustering topology

Hi community!

I am implementing a plugin for ES 2.x using Java and I need to detect when a node joins to the cluster in order to take an action. I understand that this should be related with the use of Discovery class but I am not really sure how,
from plugin class, create a listener or something that is trigger when a new node arrives..

If somebody has a clue, I would appreciate :slight_smile:
Thanks
Leo.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.