2.5 etcd

Discover peers by querying etcd service.

Configuration parameters:

server

Type: [string()] (Required).

List of etcd server addresses to connect to.

prefix

Type: string() (Required).

Key prefix to use for service discovery.

version

Type: v2 | v3, default: v3.

Version of the etcd API to use.

ssl_options

Type: [proplists:property()], default: [].

TLS options. TLS is disabled when the list is empty, or when it contains {enable, false}.

cluster_name

Type: string().

Cluster name used as a part of the etcd key path. Only used by the v2 API version.

node_ttl

Type: pos_integer().

TTL of the etcd key holding the node information, in seconds. Only used by the v2 API version.

JavaScript license information