简体   繁体   English

如何在 nodejs 中的 AWS SQS 中创建请求-响应模式?

[英]How can I make request-response mode in AWS SQS in nodejs?

I have read this article https://aws.amazon.com/blogs/compute/simple-two-way-messaging-using-the-amazon-sqs-temporary-queue-client/ about using SQS as request response mode.我已经阅读了这篇关于使用 SQS 作为请求响应模式的文章https://aws.amazon.com/blogs/compute/simple-two-way-messaging-using-the-amazon-sqs-temporary-queue-client/ It can be done via virtual queue.它可以通过虚拟队列来完成。

But the SDK mentioned in this article is just for Java.但是本文中提到的 SDK 只是针对 Java 的。 There is no support for nodejs: https://github.com/aws/aws-sdk-js/issues/2981 .不支持 nodejs: https : //github.com/aws/aws-sdk-js/issues/2981

So is there any way I can use request-response mode in nodejs over SQS?那么有什么方法可以通过 SQS 在 nodejs 中使用请求-响应模式?

Currently there is no support for temporary virtual sqs quesues in nodejs.目前在 nodejs 中不支持临时虚拟 sqs 队列。 The community is not planning to work on it in 2020 it seems.社区似乎不打算在 2020 年开展工作。 Kindly refer here for tracking the issue.请参阅此处以跟踪问题。

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

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