libcluster v2.0.3 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"]]]]

Summary

Functions

start_link(opts)

Callback implementation for Cluster.Strategy.start_link/1.