You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "yangyongzheng (JIRA)" <ji...@apache.org> on 2018/04/18 06:31:00 UTC

[jira] [Issue Comment Deleted] (SCB-474) 使用zuul做网关进行路由,当同一个微服务接口同时开放rest和highway方式时,出现无法调用情况。

     [ https://issues.apache.org/jira/browse/SCB-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

yangyongzheng updated SCB-474:
------------------------------
    Comment: was deleted

(was: We need change dependencies of spring-cloud-zuul and remove highway transport)

> 使用zuul做网关进行路由,当同一个微服务接口同时开放rest和highway方式时,出现无法调用情况。
> ----------------------------------------------------
>
>                 Key: SCB-474
>                 URL: https://issues.apache.org/jira/browse/SCB-474
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>    Affects Versions: java-chassis-1.0.0-m1
>            Reporter: zhousujan
>            Assignee: yangyongzheng
>            Priority: Major
>             Fix For: java-chassis-1.0.0-m2
>
>
> 使用zuul做网关进行路由,当同一个微服务接口同时开放rest和highway方式时,出现无法调用情况。经过定位,发现zuul能够把同一个微服务暴露的两种接入方式都获取到一个服务列表中,zuul默认使用轮询的方式进行路由,当轮询到rest方式时,能够正常调用;轮询到highway的地址时,必定报错。



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)