diff --git a/apps/emqx_conf/src/emqx_conf_schema.erl b/apps/emqx_conf/src/emqx_conf_schema.erl index b4ba2bf47..f339f78a3 100644 --- a/apps/emqx_conf/src/emqx_conf_schema.erl +++ b/apps/emqx_conf/src/emqx_conf_schema.erl @@ -143,7 +143,7 @@ fields("cluster") -> )}, {"discovery_strategy", sc( - hoconsc:enum([manual, static, mcast, dns, etcd, k8s]), + hoconsc:enum([manual, static, dns, etcd, k8s, mcast]), #{ default => manual, desc => ?DESC(cluster_discovery_strategy), @@ -198,7 +198,7 @@ fields("cluster") -> {"mcast", sc( ?R_REF(cluster_mcast), - #{} + #{importance => ?IMPORTANCE_HIDDEN} )}, {"dns", sc( diff --git a/rel/i18n/emqx_conf_schema.hocon b/rel/i18n/emqx_conf_schema.hocon index 079132454..416b3ca76 100644 --- a/rel/i18n/emqx_conf_schema.hocon +++ b/rel/i18n/emqx_conf_schema.hocon @@ -755,7 +755,9 @@ cluster_discovery_strategy.desc: - static: Configure static nodes list by setting seeds in config file.
- dns: Use DNS A record to discover peer nodes.
- etcd: Use etcd to discover peer nodes.
-- k8s: Use Kubernetes API to discover peer pods.""" +- k8s: Use Kubernetes API to discover peer pods. +- mcast: Deprecated since 5.1, will be removed in 5.2. + This supports discovery via UDP multicast.""" cluster_discovery_strategy.label: """Cluster Discovery Strategy"""