kong request transformer invoke multiple microservice APIs

时间秒杀一切 提交于 2020-07-16 07:57:08

问题


I am exploring Kong. I am wondering if I can achieve the following scenario using request transformer plugin.

  • A request is reached at the request transformer plugin.
  • Split the request into three microservice API requests.
  • Call the three APIs sequentially.
  • Merge the response of all three APIs.
  • Send the response back.

回答1:


I think that is not possible as Kong is not an orchestration/business process/ESB tool. I see two solutions for this use case:

  • Deploy a BPM engine like Camunda, which takes care of orchestrating services

  • Create your own service which does the calls for you and merges the responses



来源:https://stackoverflow.com/questions/61341632/kong-request-transformer-invoke-multiple-microservice-apis

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