My setup is a hazel server and clients that connect and pick up jobs from a queue and process(perform jni operations) and post on another queue. i have scenarios where a job might crash(due to JNI or any reason - dont care) the client node. or the node might go away due to a spot price issue. is there a way for the server to catch the disconnect and handle that ? I see the message on the server log :
INFO: [172.0.20.20]:5701 [dev] [3.9.1] Destroying ClientEndpoint{connection=Connection[id=3,
0.0.0.0/0.0.0.0:5701->/
172.0.20.20:32941, endpoint=[172.0.20.20]:32941, alive=false, type=JAVA_CLIENT], principal='ClientPrincipal{uuid='7c7cbdf2-1eda-491e-8abe-9b362aedfd88', ownerUuid='f4b44610-66b2-45f5-aa74-33e1b54f2717'}, firstConnection=true, authenticated=true, clientVersion=3.9.1, creationTime=1516894077403, latest statistics=null}
but beyong that I am not able to see how I can hook up something to be invoked with the details. I tried MembershipListener interface to listen for events, but dont see any print outs for memberRemoved events.
THanks !
hari