You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@seata.apache.org by "SanjingyeSun (via GitHub)" <gi...@apache.org> on 2024/08/08 10:25:30 UTC

[D] Eureka client版本2.x时不兼容问题 [incubator-seata]

GitHub user SanjingyeSun created a discussion: Eureka client版本2.x时不兼容问题

我在用Eureka作为注册中心时,遇到了因为Eureka大版本更新导致Seata不能兼容的问题,具体如下:
2022年,Spring Cloud Starter Netflix Eureka Client更新了4.x大版本,其中Eureka-client依赖也跟着更新到了2.0.0,但是现在即使我用最新的seata2,他的Provided Dependencies版本依旧是1.10.17,这就导致了一个问题,io.seata.discovery.registry.eureka.EurekaRegistryServiceImpl这个类的getEurekaClient方法调用了com.netflix.discovery.DiscoveryClient的构造函数,传递了两个参数,但是,eureka-client在升级的2.0时将这个两个参数的构造方法**删!除!了!**

现在,如果我用eureka client4+seata2这个组合,没有办法启动程序。
请问对于这种情况,目前有没有可行的解决方案?或者未来会考虑适配eureka2+吗?

GitHub link: https://github.com/apache/incubator-seata/discussions/6740

----
This is an automatically sent email for dev@seata.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@seata.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org