Tag: azure storage queues

更新后无法删除azure色的存储队列消息(消息未find)

使用node.js, azure-storage和fast-azure-storage两个不同的库,得到相同的结果。 这就是我所做的: 使用默认设置创build消息 – 确定。 从队列中获取消息 – 好的。 更新消息重置visibility timeout – 确定。 处理后删除消息 – 错误:MessageNotFound。 如果我跳过更新,一切顺利。 那么我做错了什么? PS试图分析httpstream量,似乎完全符合文档 。 像这是一个Azure的内部问题? 也许有人有使用其他语言库更新消息的经验吗? 由于auth头文件的计算太麻烦了。

azurestorage和NodeJS中的getaddrinfo错误

我正在做和将文件发送到Azure存储容器的应用程序,然后将消息发送到Azure队列。 当我达到1000〜1020条消息时,我不能发送更多的文件和消息。 我也注意到,当我尝试检查队列中有多less条消息时,我有一个错误。 错误是: { [Error: getaddrinfo EADDRINFO] code: 'EADDRINFO', errno: 'EADDRINFO', syscall: 'getaddrinfo' } 我的代码是: function start(pos) { var entry = inputs[pos]; // The array stars at 0 (zero) console.log(entry); // Print current file //Let's start the uploading blobSvcInput.createContainerIfNotExists(containerInput, function(error, result, response){ // this function will create a container in Azure Storage (if this […]

我可以从Azurefunction的单个运行中排列多个项目吗?

我有一个Node.js timerTrigger Azure函数处理一个集合,并将处理结果排队以供进一步处理(通过Node.js queueTrigger函数)。 代码如下所示: module.exports = function (context, myTimer) { collection.forEach(function (item) { var items = []; // do some work and fill 'items' var toBeQueued = { items: items }; context.bindings.myQueue = toBeQueued; }); context.done(); }; 这段代码将只排队最后一个toBeQueued而不是每个我想排队。 有没有办法排队多个项目? 更新 为了清楚toBeQueued ,我正在讨论forEach每次迭代中排队一个toBeQueued ,而不是排队一个数组。 是的,Azure函数有一个问题,因为我不能排队数组,但我有一个解决方法, 即, { items: items } 。