Limit output to a single window RRS feed

  • Question

  • Is Stream Analytics the right tool to do such data transformation?

    The app's object "Person" (latest snapshot) is pushed to to the Azure Event Hub on each change:

    { "Id": "1", "Name": "Person 1", "Score": 150 } 

    I need data for scoreboard, which should display a score change for each person during the last 1 hour. An output is a storage blob.

    Sample input data file

    One additional catch is that, the name may change. If “Person 2” has been renamed to “Person 3” (Id stays the same), in output “Person 3” should be visible instead of “Person 2”.

    Thank you in advance!

    Thursday, April 27, 2017 3:30 PM

All replies

  • I misunderstood how ASA works. By adding {date}/{time} as a blob path, a new file is created for each window (really?) and the application interested in the latest window, should read the newest blob.
    Friday, April 28, 2017 12:49 AM