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

Zuul2.x:使用eurela服务发现-进行路由 #603

Open
zhangyang-1 opened this issue Aug 12, 2019 · 2 comments
Open

Zuul2.x:使用eurela服务发现-进行路由 #603

zhangyang-1 opened this issue Aug 12, 2019 · 2 comments
Labels

Comments

@zhangyang-1
Copy link

实在是不理解,这个配置不生效
Zuul可与Eureka无缝协作,但也可配置为使用静态服务器列表或您选择的发现服务。

使用Eureka服务器的标准方法如下所示:

# ##负载平衡与后端尤里卡

eureka.shouldUseDns = true
eureka.eurekaServer.context = discovery / v2
eureka.eurekaServer.domainName = discovery $ {environment} .netflix.net
eureka.eurekaServer.gzipContent = true

eureka.serviceUrl.default = http:// $ {region}。$ {eureka.eurekaServer.domainName}:7001 / $ {eureka.eurekaServer.context}

api.ribbon.NIWSServerListClassName = com.netflix.niws.loadbalancer.DiscoveryEnabledNIWSServerList
api.ribbon.DeploymentContextBasedVipAddresses = api-test.netflix.net:7001
在此配置中,您必须指定您的Eureka上下文和位置。鉴于此,Zuul将与尤里卡对给定的VIP自动选择服务器列表api 功能区客户端。您可以找到有关功能区配置的详细信息在这里

@carl-mastrangelo
Copy link
Contributor

Hi, can you restate your issue in English? I don't know if anyone working on Zuul will be able to help otherwise.

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants