Is it possible to configure same Route for multiple Services in KONG?

Is it possible to configure same Route for multiple Services in KONG?

I am curious about your use case.

Let’s say you’ve got a route /test that is mapped to multiple services. How do you expect Kong to differentiate requests and send it to the right upstream? Or do you want Kong to send the same request to all upstreams?

you can use a different header for routing in every service to distinguish but I dont see the real use case

1 Like

I have a usecase where i have to route traffic to one of service based on header instead of upstream.

Is it possible to do so ?

Yes, you can use header as a matching criteria for an route object.

Here is the official doc

Kong route objects supports matching by header/hostname/path/methods etc.