In the previous sections, we saw the Hazelcast resources used by Cellar to format and transport cluster events. The transport relays to the network (the wire). Hazelcast provides the configuration of the network that we can leverage in Cellar. In this section, we will see how to configure Cellar node discovery, how to secure the communication between the nodes, and how to support IPv6.
On the same network, you may want to define multiple Cellar clusters, especially when you use node discovery. A Cellar cluster is identified by a name and password in the
etc/hazelcast.xml configuration file. You can separate your clusters in a simple way (for instance, per environment) using the following code:
<hazelcast> <group> <name>dev</name> ...