Dusk.Strategy.Zenoh (Dusk v0.1.0)

Copy Markdown View Source

libcluster strategy: membership gossip over a Zenoh key.

config :libcluster,
  topologies: [
    dusk: [
      strategy: Dusk.Strategy.Zenoh,
      config: [
        connect: "tcp/127.0.0.1:7447",
        key: "dusk/cluster/nodes",
        interval: 5_000,
        nodes: []
      ]
    ]
  ]

Publishes Node.self(). Does not form Distributed Erlang by itself; seed :nodes or wire connect: when EPMD is reachable.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)