You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@seata.apache.org by "zhangchaoyanggit (via GitHub)" <gi...@apache.org> on 2023/12/26 15:04:50 UTC
[I] feign通过服务发现负载均衡失效 [incubator-seata]
zhangchaoyanggit opened a new issue, #6220:
URL: https://github.com/apache/incubator-seata/issues/6220
seata 使用的是1.4.2版本, springboot 2.3.2 ,spring-cloud-alibaba-2.2.6.RELEASE springcloud Hoxton.SR9
我业务中为了代码统一,使用了feign url的调用方式调用其他集群服务,在seata事务中,启动类去除了SeataFeignClientAutoConfiguration的配置,导致了负载均衡失效,如果我不去除这个类 通过feign url请求 就会报以下错误:
com.netflix.client.ClientException: Load balancer does not have available server for client: 127.0.0.1
at org.springframework.cloud.openfeign.ribbon.LoadBalancerFeignClient.execute(LoadBalancerFeignClient.java:90) ~[spring-cloud-openfeign-core-2.2.6.RELEASE.jar:2.2.6.RELEASE]
@FeignClient(url = "http://127.0.0.1:30905",name = BaseConstant.TARGET_THIRD_FEIGN_API + "adsp")//这个是我的feign url 服务
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org
Re: [I] feign通过服务发现负载均衡失效 [incubator-seata]
Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes closed issue #6220: feign通过服务发现负载均衡失效
URL: https://github.com/apache/incubator-seata/issues/6220
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org
Re: [I] feign集成seata后服务发现负载均衡失效 [incubator-seata]
Posted by "zhangchaoyanggit (via GitHub)" <gi...@apache.org>.
zhangchaoyanggit commented on issue #6220:
URL: https://github.com/apache/incubator-seata/issues/6220#issuecomment-1869876539
没有明白您的意思, SeataFeignClientAutoConfiguration 不属于seata的问题嘛?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org
Re: [I] feign集成seata后服务发现负载均衡失效 [incubator-seata]
Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes commented on issue #6220:
URL: https://github.com/apache/incubator-seata/issues/6220#issuecomment-1869877473
spring-data-redis属于redis还是属于spring?
Spring-data-redis belongs to redis or spring?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org
Re: [I] feign通过服务发现负载均衡失效 [incubator-seata]
Posted by "funky-eyes (via GitHub)" <gi...@apache.org>.
funky-eyes commented on issue #6220:
URL: https://github.com/apache/incubator-seata/issues/6220#issuecomment-1869861072
Please give feedback to spring-cloud-alibaba community
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org
Re: [I] feign集成seata后服务发现负载均衡失效 [incubator-seata]
Posted by "zhangchaoyanggit (via GitHub)" <gi...@apache.org>.
zhangchaoyanggit commented on issue #6220:
URL: https://github.com/apache/incubator-seata/issues/6220#issuecomment-1869883086
好的大哥
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org