caravan v1.0.0 API Reference

Modules

Tools for running Distributed Elixir/Erlang with Nomad and Consul

Config for Caravan.Cluster.DnsStrategy.

Implements a libcluster strategy for node distribution based on Consul DNS. By default it uses :inet_res to query the nameservers, though it can be configured to use any module conforming to the Caravan.DnsClient behaviour

A client for fetching SRV records from DNS and returning

Shared logic for determining the Erlang distribution port from the node name

Implementation of the epmd client logic. Meant for use with the -epmd_module flag

Implements the Erlang distribution protocol. Forwards most calls to :inet_tcp_dist with the exception of listen/1 which uses Caravan.Epmd to get the distribution port instead of calling out to epmd. The _dist part of the module name is required for it to work, but will be used like this -proto_dist Caravan.Epmd.Dist