1 Star 0 Fork 0

stone264/java-design-patterns

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
layouttitlefolderpermalinkcategoriestags
patternAggregator Microservicesaggregator-microservices/patterns/aggregator-microservices/Architectural
JavaSpring

Intent

The user makes a single call to the Aggregator, and the aggregator then calls each relevant microservice and collects the data, apply business logic to it, and further publish is as a REST Endpoint. More variations of the aggregator are:

  • Proxy Microservice Design Pattern: A different microservice is called upon the business need.
  • Chained Microservice Design Pattern: In this case each microservice is dependent/ chained to a series of other microservices.

alt text

Applicability

Use the Aggregator Microservices pattern when you need a unified API for various microservices, regardless the client device.

Credits

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wuqr32/java-design-patterns.git
git@gitee.com:wuqr32/java-design-patterns.git
wuqr32
java-design-patterns
java-design-patterns
master

搜索帮助