消息队列响应代码如何工作?
目前,我的公司有一个消息队列,该消息会引入第三方请求,并在我们的一个应用程序中消耗它们。但是,第三方无法知道请求是否成功。对我们的消息传递队列返回响应的所有请求{代码:200,消息:“成功放置在队列上”}
。
目前,我们每天都使用脚本来浏览日志,并使用所有故障创建报告。我对队列没有太多了解,但这似乎我们正在做的是真的很糟糕的做法。
处理这种情况的最佳做法是什么?
Currently my company has a message queue that takes in third party requests, and consumes them on one of our applications. However, there is no way for the third party to know if the request was successful. All of the requests made to our messaging queue return responses {code: 200, message: "successfully placed on queue"}
.
We're currently using a script to look through the logs every day and create a report with all the failures. I don't have a lot of knowledge about message queues but this just seems like what we're doing is really bad practice.
What is the best practice for handling this situation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论