When a node is down and therefore taken by a leader out of the cluster I would like the node itself to call System.exit().( I am using aka java)
How can the node surely know it has been removed from the cluster? How is the recommended way to do this? Are there any caveats to be aware of?
If you are using a milestone version of the upcomming Akka 2.4 you can register a callback via registerOnMemberRemoved
method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With