Does Kong support API Aggregation

a 夏天 提交于 2019-12-21 17:57:26

问题


We are just researching a couple of API gateways, in particular Kong. Looking through their documentation it seems they support request/response transformation.

However, if I understand this correctly, this seems limited to headers.

Does Kong support API Aggregation like Netflix does it?


回答1:


No, by default one http request into Kong will only match to one upstream url.

The Kong request and response transformation plugins handle simple Header, Body and Query String manipulation but Kong doesn't handle API aggregation.

Obviously, Kong is very easy to modify via it's own plugin mechanism but emulating what appears to be complex metadata driven dynamic orchestration tool that Netflix describe (via Lua) is going to be non-trivial.

If you used Kong here it would likely only be as the gateway (which it does well) and build out simple orchestration APIs yourself that aggregated your backend calls.



来源:https://stackoverflow.com/questions/38820356/does-kong-support-api-aggregation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!