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
Thanks
Leo.