Rename node.proto_dist to cluster.proto_dist
This commit is contained in:
parent
4a70cf0e9f
commit
ddc25be915
|
@ -11,6 +11,16 @@
|
|||
## Value: String
|
||||
cluster.name = emqxcl
|
||||
|
||||
## Specify the erlang distributed protocol.
|
||||
##
|
||||
## Value: Enum
|
||||
## - inet_tcp: the default; handles TCP streams with IPv4 addressing.
|
||||
## - inet6_tcp: handles TCP with IPv6 addressing.
|
||||
## - inet_tls: using TLS for Erlang Distribution.
|
||||
##
|
||||
## vm.args: -proto_dist inet_tcp
|
||||
cluster.proto_dist = inet_tcp
|
||||
|
||||
## Cluster auto-discovery strategy.
|
||||
##
|
||||
## Value: Enum
|
||||
|
@ -251,15 +261,7 @@ node.fullsweep_after = 1000
|
|||
## Value: Log file
|
||||
node.crash_dump = {{ platform_log_dir }}/crash.dump
|
||||
|
||||
## Specify the erlang distributed protocol.
|
||||
##
|
||||
## Value: Enum
|
||||
## - inet_tcp: the default; handles TCP streams with IPv4 addressing.
|
||||
## - inet6_tcp: handles TCP with IPv6 addressing.
|
||||
## - inet_tls: using TLS for Erlang Distribution.
|
||||
##
|
||||
## vm.args: -proto_dist inet_tcp
|
||||
node.proto_dist = inet_tcp
|
||||
|
||||
|
||||
## Specify SSL Options in the file if using SSL for Erlang Distribution.
|
||||
##
|
||||
|
|
|
@ -85,6 +85,13 @@
|
|||
{datatype, string}
|
||||
]}.
|
||||
|
||||
%% @doc The erlang distributed protocol
|
||||
{mapping, "cluster.proto_dist", "ekka.proto_dist", [
|
||||
{default, "inet_tcp"},
|
||||
{datatype, {enum, [inet_tcp, inet6_tcp, inet_tls]}},
|
||||
hidden
|
||||
]}.
|
||||
|
||||
{mapping, "cluster.dns.app", "ekka.cluster_discovery", [
|
||||
{datatype, string}
|
||||
]}.
|
||||
|
@ -198,12 +205,7 @@ end}.
|
|||
{default, "emqx@127.0.0.1"}
|
||||
]}.
|
||||
|
||||
%% @doc The erlang distributed protocol
|
||||
{mapping, "node.proto_dist", "ekka.proto_dist", [
|
||||
%{default, "inet_tcp"},
|
||||
{datatype, {enum, [inet_tcp, inet6_tcp, inet_tls]}},
|
||||
hidden
|
||||
]}.
|
||||
|
||||
|
||||
%% @doc Specify SSL Options in the file if using SSL for erlang distribution
|
||||
{mapping, "node.ssl_dist_optfile", "vm_args.-ssl_dist_optfile", [
|
||||
|
|
Loading…
Reference in New Issue