Libcluster strategy for uplink. This strategy will connect to the unix socket inside your container and retrieve service discovery endpoint. It will then call the endpoint and retrieve the list of instances to connect to.
If available in Hex, the package can be installed
by adding libcluster_uplink
to your list of dependencies in mix.exs
:
def deps do
[
{:libcluster_uplink, "~> 0.1.0"}
]
end
config :libcluster,
topologies: [
example: [
strategy: Cluster.Strategy.Uplink,
config: [
app_name: "your-app"
]
]
]
Key | Required | Description |
---|---|---|
:app_name |
✓ | The name of your elixir application |
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/libcluster_uplink.