You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "xiaohaoni (via GitHub)" <gi...@apache.org> on 2023/04/08 07:07:59 UTC

[GitHub] [dubbo] xiaohaoni opened a new issue, #12037: dubbo升级到3.0之后默认多级注册,影响gateway的路由如何解决

xiaohaoni opened a new issue, #12037:
URL: https://github.com/apache/dubbo/issues/12037

   我们dubbo升级到了3.0,然后默认是多级注册的,这样微服务(nacos
   )就会注册上dubbo的端口,网关我们使用的是gateway,路由的时候负载均衡就会路由到dubbo的端口上,正常的接口就会调不了,请问这个怎么解决
   


-- 
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: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] falcon-jin commented on issue #12037: dubbo升级到3.0之后默认多级注册,影响gateway的路由如何解决

Posted by "falcon-jin (via GitHub)" <gi...@apache.org>.
falcon-jin commented on issue #12037:
URL: https://github.com/apache/dubbo/issues/12037#issuecomment-1500885845

   ![image](https://user-images.githubusercontent.com/48880836/230722181-8d7a3808-a1f4-4730-8535-2b1b0cabf4e3.png)我这样指定单独的命名空间是可以的 看起来也舒服 不影响其它服务


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] kaizen84 commented on issue #12037: dubbo升级到3.0之后默认多级注册,影响gateway的路由如何解决

Posted by "kaizen84 (via GitHub)" <gi...@apache.org>.
kaizen84 commented on issue #12037:
URL: https://github.com/apache/dubbo/issues/12037#issuecomment-1501594707

   可以使用命名空间进行隔离


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] xiaohaoni commented on issue #12037: dubbo升级到3.0之后默认多级注册,影响gateway的路由如何解决

Posted by "xiaohaoni (via GitHub)" <gi...@apache.org>.
xiaohaoni commented on issue #12037:
URL: https://github.com/apache/dubbo/issues/12037#issuecomment-1500824829

   @chickenlj  
   之前是2.7.15版本的,dubbo的端口是包到spring 的端口里面的,
   ![ba814cebae2ec7699f17602b20fcf34](https://user-images.githubusercontent.com/59159779/230711632-f3b85ba6-2d4a-490d-9c49-6ed0934fc1ce.png)
   升级到3.0后,dubbo就会单独注册一个端口
   ![14b2173c5e7fbb0188ce809521adb74](https://user-images.githubusercontent.com/59159779/230711677-dfd50799-4d1f-4ebe-ab33-6101ff3b60e1.png)
   导致在gateway路由负载均衡的时候有机率会路由到dubbo的端口里去,路由到spring 的端口是正常调用接口的,但是路由到dubbo的端口就会接口调用失败


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] xiaohaoni commented on issue #12037: dubbo升级到3.0之后默认多级注册,影响gateway的路由如何解决

Posted by "xiaohaoni (via GitHub)" <gi...@apache.org>.
xiaohaoni commented on issue #12037:
URL: https://github.com/apache/dubbo/issues/12037#issuecomment-1502549077

   感谢,这样设置确实可以


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ closed issue #12037: dubbo升级到3.0之后默认多级注册,影响gateway的路由如何解决

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ closed issue #12037: dubbo升级到3.0之后默认多级注册,影响gateway的路由如何解决
URL: https://github.com/apache/dubbo/issues/12037


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org