Ocelot Api網關教程(9)- QoS

本文介紹Ocelot中的QoS(Quality of Service),其使用了Polly對超時等請求下游失敗等狀況進行熔斷。javascript 一、添加Nuget包 添加 Ocelot.Provider.Polly 到OcelotGetway項目中 java 二、修改 Startup.ConfigureServices 以下來添加Polly: services .AddOcelot(new
相關文章
相關標籤/搜索