Ocelot Api网关教程(9)- QoS

本文介绍Ocelot中的QoS(Quality of Service),其使用了Polly对超时等请求下游失败等状况进行熔断。javascript 一、添加Nuget包 添加 Ocelot.Provider.Polly 到OcelotGetway项目中 java 二、修改 Startup.ConfigureServices 以下来添加Polly: services .AddOcelot(new
相关文章
相关标签/搜索