I have 3 node hazelcast server cluster and hazelcast client is started in each node. The hazelcast client uses smart routing and client / server mode is used.
I collect the list of clients connected to Hazelcast server cluster via IExecutorService and ClientService.getConnectedClients() in each Hazelcast client. After fetching the list I want to loop through the fetched list of client and compare it with own instance (the client who fetched the list) and if found perform some application logic. One way to do is to assign a unique name to client during HazelcastClient.newHazelcastClient.
Is it possible to have a unique name set to each Hazelcast client instance ? .
Please let me know if I am not clear.
Thanks JK