You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Union Platform
Lets say there are 1 cluster, with 3 nodes
there is any way in the api to know if a node is down?
saul
Derek
unread,
Jun 27, 2019, 12:27:45 PM6/27/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Union Platform
Hi Saul,
There are no events dispatched indicating when nodes are added to and removed from the server...I can see it being very useful though.
But you could get a decent workaround by creating a server module that was periodically polling for connected nodes using Cluster.getNodeIDs(). If the Set of Node IDs changes you can diff the Set to discover what nodes may have been added/removed.