Closed 602297770 closed 2 years ago
你好,我也遇到这个问题了。我使用了SpringCloud + Gateway + Nacos。 我的配置如下:
spring-cloud.version=2020.0.1
alibaba-cloud.version=2021.1
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-gateway</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
</dependency>
</dependencies>
请问,这个问题你解决了吗?怎么解决的?
Thanks for your feedback and contribution. But the issue/pull request has not had recent activity more than 180 days. This issue/pull request will be closed if no further activity occurs 7 days later. We may solve this issue in new version. So can you upgrade to newest version and retry? If there are still issues or want to contribute again. Please create new issue or pull request again.
使用原生的spring.cloud.gateway的方式搭建简易的网关。分别调用不同端口,权重分别为1和6的weight服务结果是两个端口调用比例是1:1。