gpt4 book ai didi

azure - Azure 逻辑应用中服务总线连接器的消息处理策略

转载 作者:行者123 更新时间:2023-12-02 07:58:38 25 4
gpt4 key购买 nike

我有一个 Azure Logicapp,它使用当一条或多条消息到达主题时(查看锁定)连接器处理来自服务总线主题的消息。 enter image description here

我已使用相同的 session ID 向服务总线发送了 40 条消息 enter image description here

据我们所知documentation 此连接器每次运行可以处理 20 条消息。 但是我们在这里看到的。

首次运行我有另一个时区 (UTC+3),所以时间有变化 enter image description here

第二次运行 Second run

第三次运行 Third run

我们不是两次运行20/20,而是三次1/20/19

为什么会出现这种情况?我在文档中找不到解释?

最佳答案

逻辑应用服务总线不保证批处理来实现此用途 batch receiver

看起来逻辑应用将被第一条消息触发,并尝试预取接下来的 20 个(默认大小)项目并为下一个项目执行此操作。

Some triggers, such as the When one or more messages arrive in a queue (auto-complete) trigger, can return one or more messages. When these triggers fire, they return between one and the number of messages that's specified by the trigger's Maximum message count property.

https://learn.microsoft.com/en-us/azure/connectors/connectors-create-api-servicebus

关于azure - Azure 逻辑应用中服务总线连接器的消息处理策略,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60883141/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com