Is there any support from kong to redirect to upstream based on Http query parameter?
like /path/?name=foo -> upstream:8090
/path/?name=bar -> upstream:8091
No. Query parameter based routing is not supported out of the box. You should be able to write a plugin easily for this. You can even use the serverless plugin for this.