arcz / libcluster_consul

Consul strategy for libcluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LibclusterConsul

TODO: Add description

Installation

If available in Hex, the package can be installed by adding libcluster_consul to your list of dependencies in mix.exs:

def deps do
  [
    {:libcluster_consul, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/libcluster_consul.

Configuration

Least required config is only consul service name

config :libcluster,
  topologies: [
    consul_example: [
      strategy: ClusterConsul.Strategy,
      config: [
        service_name: "teamweek-core"
      ]
    ]
  ]

About

Consul strategy for libcluster


Languages

Language:Elixir 100.0%