Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot 当使用Feign时,一个微服务(在SpringBoot1.x中)能否命中另一个微服务(在SpringBoot2.x中)的REST端点?_Spring Boot - Fatal编程技术网

Spring boot 当使用Feign时,一个微服务(在SpringBoot1.x中)能否命中另一个微服务(在SpringBoot2.x中)的REST端点?

Spring boot 当使用Feign时,一个微服务(在SpringBoot1.x中)能否命中另一个微服务(在SpringBoot2.x中)的REST端点?,spring-boot,Spring Boot,我们在SpringBoot1.x上几乎没有微服务,我们正在尝试将它们升级到SpringBoot2.x 作为此次升级的一部分,我们将一些微服务转换为SpringBoot2.x,其中一些仍在SpringBoot1.x上。现在我的问题是,如果一个微服务正在使用Feign调用/调用另一个微服务的REST端点,那么我们应该让两个微服务都在同一个spring引导版本上,还是它们仍然可以与两个不同版本上的用户通信

我们在SpringBoot1.x上几乎没有微服务,我们正在尝试将它们升级到SpringBoot2.x

作为此次升级的一部分,我们将一些微服务转换为SpringBoot2.x,其中一些仍在SpringBoot1.x上。现在我的问题是,如果一个微服务正在使用Feign调用/调用另一个微服务的REST端点,那么我们应该让两个微服务都在同一个spring引导版本上,还是它们仍然可以与两个不同版本上的用户通信