@aseigo wrote:
The most likely reason you are not seeing messages is that the different BEAMs in the different containers are not set up in a single cluster, but are running each on their own. So: How are you setting up the Elixir (BEAM, really) cluster?
They need to know where the cluster of nodes to connect to are. I don’t know how Docker Swarm works in detail, more familiar with Kubernetes and that stack, and here are some pointers to how it is don with that tooling:
https://substance.brpx.com/clustering-elixir-nodes-on-kubernetes-e85d0c26b0cf
https://github.com/bitwalker/libclusterI assume it will be similar with Swarm, with the usual “differences in all the details”, but the tl;dr is that each node needs to know where the rest of the cluster is to connect the nodes together. Once that is achieved, you’ll see messages across the cluster.