graphql-engine
graphql-engine copied to clipboard
ordered delivery of events based on primary key
would it be possible to set the Event trigger, to be able to maintain order of the events within primary key.
let say that five users made an update of the same record (id= 100). i'd like that the events would fire in exact order as the updates if the first update resulted an error in event trigger, the other events should not fire until the first event is resolved
What's the use-case specifically? Does the delay i.e. waiting for webhook to respond and only then process the next event work for you (or at scale) -- this considerably throttles the throughput? Is this something that can't be handled by Postgres's concurrency control?
I need FIFO method within chosen unique key