docs(cluster): Fix some definitions

This commit is contained in:
ieQu1 2022-02-22 14:05:29 +01:00
parent b79ef3f0d9
commit a36a494373
1 changed files with 5 additions and 5 deletions

View File

@ -138,8 +138,8 @@ fields("cluster") ->
})} })}
, {"static", , {"static",
sc(ref(cluster_static), sc(ref(cluster_static),
#{ desc => "Static service discovery mechanism, when all the nodes are known #{ desc => "Service discovery via static nodes. The new node joins the cluster by connecting
in advance." to one of the bootstrap nodes."
})} })}
, {"mcast", , {"mcast",
sc(ref(cluster_mcast), sc(ref(cluster_mcast),
@ -177,12 +177,12 @@ fields(cluster_mcast) ->
sc(hoconsc:array(integer()), sc(hoconsc:array(integer()),
#{ default => [4369, 4370] #{ default => [4369, 4370]
, desc => "List of UDP ports used for service discovery.<br/> , desc => "List of UDP ports used for service discovery.<br/>
Note: probe messages are broadcasted to all the specified ports." Note: probe messages are broadcast to all the specified ports."
})} })}
, {"iface", , {"iface",
sc(string(), sc(string(),
#{ default => "0.0.0.0" #{ default => "0.0.0.0"
, desc => "IPv4 interface address." , desc => "Local IP address the node discovery service needs to bind to."
})} })}
, {"ttl", , {"ttl",
sc(range(0, 255), sc(range(0, 255),
@ -254,7 +254,7 @@ fields(cluster_k8s) ->
, {"service_name", , {"service_name",
sc(string(), sc(string(),
#{ default => "emqx" #{ default => "emqx"
, desc => "EMQX service name." , desc => "EMQX broker service name."
})} })}
, {"address_type", , {"address_type",
sc(hoconsc:enum([ip, dns, hostname]), sc(hoconsc:enum([ip, dns, hostname]),