我们在美国区域使用ECS,docker部署了 2 个 EMQX Replicant 节点,在新加坡区域通过 Kubernetes 部署了 2 个 Core 节点和 6 个 Replicant 节点。Replicant 节点通过 LoadBalancer 暴露服务 IP(即 LB IP)。
现在,我们希望在美国的 Replicant 节点中使用 static 发现策略加入集群,其配置如下:
cluster {
discovery_strategy = static
static {
seeds = ["emqx@core1_ip", "emqx@core2_ip", "emqx@lb_ip"]
}
}
请问这种配置是否合理?