-
Hi everyone.. ProblemWhen I want to route the traffic with the url "open-api.cn:10443/cloud/connect" to the open-api-stable backend service, when the url is "open-api.cn:10443/cloud/connect?sn= 123abc" traffic is routed to the open-api-canary service. How do I implement it through kong? My KONG setup
does anyone help me in this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @zyiqian ! I'll be happy to help. Have you tried experimenting with Kong Expressions router? You could configure your route to be matched based on query parameters. Here's more about Expressions Router and it's available matching fields: https://docs.konghq.com/gateway/3.5.x/key-concepts/routes/expressions/#matching-fields Remember that you have to enable expressions based routing. More info here: https://docs.konghq.com/gateway/latest/key-concepts/routes/expressions/ Does this answer your question? |
Beta Was this translation helpful? Give feedback.
-
Kong gateway supports http queries only after 3.4, could you upgrade it and try again? |
Beta Was this translation helpful? Give feedback.
Kong gateway supports http queries only after 3.4, could you upgrade it and try again?