I'm using a couple of Hazelcast clusters for separate purposes and don't want them to interact so have used different cluster groups. I've written a simple monitor application to keep track of the members of each cluster, but wondered if there's a way of determining which cluster groups are reachable? The monitor connects as a client and I've had to hard code cluster group names in my application configuration so it can attempt to create a connection with each. That's fine for the moment with only two groups but as my usage expands it would be helpful if I could programmatically determine all the clusters available for connection - is this possible?
Thanks