简体   繁体   English

azure中的队列触发器可以在一个go中发送多个数据吗?

[英]Can queue trigger in azure send more than one data in one go?

My project flow contains-我的项目流程包含-

  1. a machine learning container instance which receives some data and return a output.一个机器学习容器实例,它接收一些数据并返回 output。
  2. function app for queue trigger. function 应用程序用于队列触发。

from queues, data goes to container instance and returns output,then output is stored in a different queue.从队列中,数据进入容器实例并返回 output,然后 output 存储在不同的队列中。 Now this data flow is happening with FIFO.现在这个数据流发生在 FIFO 中。 It is sending one data at a time.它一次发送一个数据。 It is making my process very slow.这使我的过程非常缓慢。 Is there any chance I can send whole queue data in just one go to container instance?是否有机会仅将一个 go 中的整个队列数据发送到容器实例? You can provide alternative solution as well.您也可以提供替代解决方案。


Queue triggers work when a message adds to the queue.当消息添加到队列时,队列触发器工作。 Its process FIFO.其进程先进先出。 if you want to send multiple messages or values into a single request in that case you can create an object and send this object.如果您想在这种情况下将多个消息或值发送到单个请求中,您可以创建 object 并发送此 object。 its holds multiples values as show in blew screenshot.它拥有多个值,如截图所示。 but i can't find any document on send multiple queue data on single go.但我找不到任何关于在单个 go 上发送多个队列数据的文档。

在此处输入图像描述

在此处输入图像描述

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

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