本文介绍了事件网格无法触发功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在尝试使用另一个功能发布的事件触发器来启动功能.事件已正确发布,我们已经创建了事件订阅以接收发布到该主题的所有事件.但是,大多数事件无法传递 并且该功能没有被触发.

We are trying to start functions using the event trigger posted by another function.  The events are published correctly and we have created an Event Subscription to receive all the events published to that topic. However, most events fail to be delivered and the function is not being triggered.

如果我没记错的话,匹配的事件"是因为它们与该预订匹配而应传递的事件数(该数目与在本主题中发布的事件数相同,是正确的).但是,只有一小部分 正确交付,即使所有重试也不是全部交付.其中一些甚至被丢弃.

If I'm not mistaken, the "Matched Events" is the number of events that should be delivered because they match this subscription (the number is the same as the number of events being published in this topic, which is correct). However, only a fraction are being delivered correctly and even with all the retries not all of them are being delivered. Some of them are even being dropped.

我的疑问是:

-有什么理由可以正确地交付某些产品,而另一些则不能?

-Is there any reason why some are being delivered correctly and others aren't?

-是否可以找到送达尝试的响应代码以找出问题所在?

-Is there any way to find the response codes of the delivery attempts to find out what the issue may be? 


预先感谢

塞巴斯蒂亚

Sebastià

推荐答案

您可以在事件网格主题"的概述刀片中找到失败/不匹配事件,如下所示:

You can find failed/unmatched events in the overview blade of Event Grid Topic as shown below:

您还可以在执行功能时检查功能的监视"选项卡(如果启用了应用程序见解)是否有任何错误或异常.

Also you can check the Monitor tab of functions (if Application insights enables) for any error or exception while executing the function.


这篇关于事件网格无法触发功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 16:33