Skip to content

upmaru/libcluster-uplink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClusterUplink

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.

Installation

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"
      ]
    ]
  ]

Configuration

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.

About

Uplink strategy for libcluster

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages