Can a date and time be specified when sending data to Azure event hub? -


here's scenario. i'm not working real-time data. instead, data electric company past day's electric usage. specifically, each day can # of kwhs each hour on clock on past day.

so, i'd load past information event hub each following day. doable? event hub support loading past information, or , forever realtime streaming data, no ability load past data in?

i'm afraid case, i've not seen date specification in limited api documentation find it. i'd confirm, though...

thanks, john

an azure event hub meant short-term storage. default may retain data 7 days. after data deleted based upon append timestamp created when message first entered event hub. therefore not practical use azure event hub data that's older 7 days.

an azure event hub meant message/event management, not long term storage. possible solution write event hub data azure sql server or blob storage long term storage. use azure stream analytics (an event processor) join active stream legacy data has accumulated on sql server. note, can call appended attribute. it's called "eventenqueuedutctime". keep in mind on server time, clock may different date/time of actual measurement.

as appending date time. if sending in json, append key , message value. example message time: { "time": "my utc time here" }


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -