[英]Azure Messaging services: detecting the absence of a message
Within an Azure micro-services environment, implementing an event driven architecture, I have the challenge of acting upon a received event. 在Azure微服务环境中,实现事件驱动的体系结构,我面临着对收到的事件采取行动的挑战。 I also have the counter challenge of detecting a duration with no events. 我还面临着检测无事件持续时间的挑战。
Has anyone identified a way in which the recipient can be notified after a period of no events? 有没有人确定过一段时间无事件后可以通知收件人的方法?
I have considered things like Azure functions polling the dataset however this won't scale particularly well due to the volume of data. 我考虑过诸如Azure函数轮询数据集之类的事情,但是由于数据量大,扩展性不会特别好。
You could use Azure Stream Analytics, and Windowing to detect if a window, eg the last x minutes, did not contain any new events. 您可以使用Azure Stream Analytics和Windowing来检测窗口(例如最近的x分钟)是否不包含任何新事件。 See here for a similar answer: https://stackoverflow.com/a/53430421/1537195 参见此处获得类似答案: https : //stackoverflow.com/a/53430421/1537195
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.