ASA UDA deaccumulateState not firing?

eljodon 1 Reputation point
2020-07-24T01:07:06.037+00:00

Hi,

According to the documentation ASA javascript UDAs can be used for deaccumulation. It states -The deaccumulateState() method recalculates state based on the previous state and the state of a hop. This method is called when a set of events leave a HOPPINGWINDOW. I wrote a javascript UDA in which I am trying to use the deaccumulateState method within a tumbling window query. No matter what I try, it seems that only the accumulate methods of the UDA are invoked, and the deaccumulate methods are never called. Can anyone provide some real examples of javascript UDAs that use the deaccumulateState and invoked in a query using tumbling window?

Any help on this is greatly appreciated!

Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
334 questions
{count} votes

1 answer

Sort by: Most helpful
  1. eljodon 1 Reputation point
    2020-11-13T00:50:17.663+00:00

    Hi Himanshu,

    I was unable to use the UDA to keep state, our solution aggregates the event data using an external Azure storage table , azure functions and an event hub ASA output.

    0 comments No comments