You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Azure Function(Event Receiver) receives the events in batches. After receiving each batch, it processes the data (does a bit of work). The second batch updates the value set by the first batch.
The Event Hub has 3 partitions.
The problem arises when multiples batches arrives at the same time. The second batch comes in before the first batch has updated the value.
Is there a way to receive only one batch at a time?
I am not bothered about the order of batches, but I want to get the next batch trigger only after the first batch is processed.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I am working on a project which gets change notifications through Event Hubs(https://docs.microsoft.com/en-us/graph/change-notifications-delivery).
My Azure Function(Event Receiver) receives the events in batches. After receiving each batch, it processes the data (does a bit of work). The second batch updates the value set by the first batch.
The Event Hub has 3 partitions.
The problem arises when multiples batches arrives at the same time. The second batch comes in before the first batch has updated the value.
Is there a way to receive only one batch at a time?
I am not bothered about the order of batches, but I want to get the next batch trigger only after the first batch is processed.
Thanks in advance.
The text was updated successfully, but these errors were encountered: