libcluster v2.5.0 Cluster.Strategy.Epmd

This clustering strategy relies on Erlang’s built-in distribution protocol.

You can have libcluster automatically connect nodes on startup for you by configuring the strategy like below:

config :libcluster,
  topologies: [
    epmd_example: [
      strategy: Elixir.Cluster.Strategy.Epmd,
      config: [
        hosts: [:"a@127.0.0.1", :"b@127.0.0.1"]]]]

Link to this section Summary

Link to this section Functions

Link to this function child_spec(opts)
Link to this function start_link(opts)

Callback implementation for Cluster.Strategy.start_link/1.