Closed hlcen66 closed 2 years ago
@yu199195 @yunlongn @moremind
admin
add forwarding routes
admin
add forwarding routes
How to configure forwarding routes? the forwarding routes mean selector and rule ? it base on plugin ,but the spring cloud gateway can not resigtry to the shenyu。
Which proxy should I go to to configure the selector and rule?
i dont understand , Can you show me a screenshot ?
admin
add forwarding routesHow to configure forwarding routes? the forwarding routes mean selector and rule ? it base on plugin ,but the spring cloud gateway can not resigtry to the shenyu。
Which proxy should I go to to configure the selector and rule?
i dont understand , Can you show me a screenshot ?
https://shenyu.apache.org/zh/docs/next/user-guide/admin-usage/selector-and-rule
first, why do you design? and if you can read shenyu document on https://shenyu.apache.org/docs/index/, you can use divide or springcloud plugin.
If your spring cloud gateway
is registered with eureka
, then you can use Proxy/springCloud
to connect to it , new Selector
If your
spring cloud gateway
is registered witheureka
, then you can useProxy/springCloud
to connect to it ,new Selector
i had try, the spring cloud gateway as a spring cloud service can registry into the shenyu ,but a new problem produce..
cloud gateway config :
so , the url by shenyu proxy is : http://localhost:9195/springcloud/order-server/order/list
but the gateway route url can not be a metadata .
when i ask url : http://localhost:9195/springcloud/order-server/order/list
the debug result:
so,how to forward the request to the gateway through shenyu, can you give me a demo? pls ,thanks
@moremind @yunlongn @yu199195
@moremind @yunlongn @yu199195
you can add my wechat: liyunlongn
Please enable the spring cloud
plugin and use the spring cloud
proxy method
Please enable the
spring cloud
plugin and use thespring cloud
proxy method 1:spring cloud plugin had enable 2:the gateway can not use @ShenyuSpringCloudClient, how i use the proxy
you can write a cloud gateway registry into shenyu ,and user spring cloud proxy method to ask gateway's route url ,it can not work.
Question
Hello, if I take Shenyu as a company level traffic gateway to forward requests to spring cloud gateway gateways of multiple downstream systems, can Shenyu support it?
like this: