Spring Cloud - Zuul - Cumulative Responses

How can Zuul be used to aggregate the results of two endpoints? that is, suppose that the request is / api / notes.

  • Zuul suuposed to call / notes / from / source / 1 and / notes / from / source / 2 endpoints
  • Aggregate Endpoint Results
  • Send aggregated results to the customer who initiated the results

Can this be done with Zuul? If not, I do not see another object that Zuul provides, other than providing a filter chain.

+4
source share
1 answer

This cannot be done automatically. To do this, you need to write a zuul filter.

+2

Source: https://habr.com/ru/post/1619372/


All Articles