从 Time Series Insights 获取最新的时间序列消息 [英] Get the most recent time series message from Time Series Insights

查看:37
本文介绍了从 Time Series Insights 获取最新的时间序列消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一个 TSI-Endpoint 提供从例如到达的时间序列的最新消息?物联网中心?在我目前的情况下,我必须轮询一段时间(例如现在到过去 30 秒),我想知道是否有更好的方法来做到这一点?

Is there an TSI-Endpoint that provides the most recent message of a time series that arrived from e.g. an iot-hub? In my current situation I have to poll a certain period of time (for example now to 30 seconds in the past) and I wonder if there is a better way to do this?

推荐答案

遗憾的是没有端点可以让您只查询最后一个事件.您可以使用 GetEvents 并在过去 30 秒内进行查询,就像您说的那样,或者查看来自事件中心/物联网中心的最后一条消息.

Unfortunately there is no endpoint that lets you query only the last event. You can use GetEvents and query over the last 30 seconds, like you said, or peek the last message from the Event Hub/IoT Hub.

这篇关于从 Time Series Insights 获取最新的时间序列消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆