Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nacos高可用配置疑问? #335

Open
wkjun opened this issue Jul 16, 2024 · 1 comment
Open

Nacos高可用配置疑问? #335

wkjun opened this issue Jul 16, 2024 · 1 comment

Comments

@wkjun
Copy link

wkjun commented Jul 16, 2024

spring boot 项目连接集群,有如下方式,麻烦告知下具体的差别?
第一种是负载均衡, 第二种是active,backup1,backup2吗?

  1. 使用负载均衡方式
    1.1.1.1 代理3个集群节点
    nacos.config.server-addr=1.1.1.1:8848
  2. 使用多个地址方式
    nacos.config.server-addr=127.0.0.2:8848,127.0.0.3:8848,127.0.0.4:8848
@hujun-w-2
Copy link
Collaborator

没有太大区别,一般有域名就用第一种,没有域名就用第二种

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants