How do you programmatically configure hazelcast for the multicast discovery mechanism?
How do you programmatically configure hazelcast for the multicast discovery mechanism? Details: The documentation only supplies an example for TCP/IP and is out-of-date: it uses Config.setPort(), which no longer exists. My configuration looks like this, but discovery does not work (i.e. I get the output "Members: 1" : Config cfg = new Config(); NetworkConfig network = cfg.getNetworkConfig(); network.setPort(PORT_NUMBER); JoinConfig join = network.getJoin(); join.getTcpIpConfig().setEnabled(false); join.getAwsConfig().setEnabled(false); join.getMulticastConfig().setEnabled(true); join