Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Sending Data from Azure IOTHub to Blobstorage and reading it in Unity

Discussion in 'Scripting' started by ankitparichha10, Feb 18, 2021.

  1. ankitparichha10

    ankitparichha10

    Joined:
    Sep 10, 2018
    Posts:
    1
    Hi,

    I am facing an issue while reading data from Azure Blob storage in unity. As I am using streaming analytics to send Iothub data to Blob storage, it is stored in json format. But the problem is, as it is a real time stream of data, the json data is appended at the end of the json file in Blob storage. To get the file in unity, I am fetching the file every time and reading the data and again fetching it back to read new data.

    Next problem, I had to read only values from the last row of the file.

    Is there anyway where I can read only the latest updated data in blob storage.
    I want to set a query in streaming analytics to update only current data, but that is also not happening,

    Can any one has any idea how to solve this problem?

    In short : Send telemetry data from IOThub to Blob storage to Unity.