Search code examples
ignite

What is the recommended and correct clean way for an Ignite client node to disconnect from an Ignite cluster?


I have been unable to find any prescribed way for an ignite client to cleanly pull out of a cluster. We have a long running process and we'd like it to join (some) cluster as needed and leave the cluster when it's done doing whatever it needed to do. We don't want to carry any local Ignite state between sessions. Please advise, thank you.


Solution

  • Call Ignite.close() or Ignition.stop()