【问题标题】:Is it possible to call Azure Queue from AWS Lambda是否可以从 AWS Lambda 调用 Azure Queue
【发布时间】:2022-04-19 05:50:49
【问题描述】:

我的要求是将 Lambda 中收到的数据从 DynamoDB 发送到 node.js 中的 Azure Queue。

采取的步骤 - AWS 方面

   1. Created DDB Table
   2. Added Stream and Trigger
   3. Wrote Lambda

采取的步骤 - Azure 方面

1. Created an Azure Queue (Service Bus)

到目前为止一切顺利。我可以看到 DDB 事件正在进入 Lambda。

我的问题是现在我想将这些事件发送到 Azure 队列,我找不到任何在线谷歌结果。是否可以从 AWS Lambda 将元素放入 Azure 队列?

【问题讨论】:

    标签: node.js amazon-web-services azure aws-lambda azureservicebus


    【解决方案1】:

    您可以使用 Azure 服务总线 REST API 来发送消息:

    POST    http{s}://{serviceNamespace}.servicebus.windows.net/{queuePath|topicPath}/messages
    

    https://docs.microsoft.com/en-us/rest/api/servicebus/send-message-to-queue

    【讨论】:

      猜你喜欢
      • 2017-11-25
      • 2015-11-26
      • 2017-08-26
      • 2019-07-16
      • 2021-04-06
      • 1970-01-01
      • 2020-03-05
      • 2021-01-07
      • 2016-08-09
      相关资源
      最近更新 更多