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

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

问题描述

是否有一个TSI端点提供了从例如一个物联网接口?在目前的情况下,我必须轮询一段时间(例如现在到过去的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秒钟内进行查询,也可以查看Event Hub/IoT Hub中的最后一条消息.

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.

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

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