简体   繁体   English

当代理请求返回特定错误时,是否可以重新运行管道?

[英]Is it possible to rerun a pipeline when a specific error is returned from a proxied request?

I'm using express-gateway in order to authenticate and proxy request to third party service. 我正在使用快速网关来验证和代理对第三方服务的请求。 I want to restart the pipeline if i'm getting specific error for the proxied request. 如果我收到代理请求的特定错误,我想重新启动管道。 I is possible? 我有可能吗?

Currently no, there's no way to "restart" a pipeline. 目前没有,没有办法“重启”管道。 The only way is basically re-perform the request. 唯一的方法是基本上重新执行请求。

If you can explain a little bit more your use case maybe there's another solution for that. 如果您可以解释一下您的用例,可能还有另一种解决方案。 What are you trying to accomplish? 你想达到什么目的?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM