Any plans for the watch api? #551
Replies: 2 comments
-
There are no concrete plans yet. If you have any use cases or ideas, feel free to collect them here. |
Beta Was this translation helpful? Give feedback.
-
In our case, we have quite a few systems, most, if not all of them seem to manage the access control in-app (no external api calls, locally managed - you can imagine the nightmare). We need a way (we're probably looking at creating a few libs) to make sure that we update the local access control mechanisms based on a central source of truth and some fancy mapping. We recognize that it's not the best way to go about this but we need something workable in place. |
Beta Was this translation helpful? Give feedback.
-
From the Zanzibar paper:
2.4.3 Watch
Some clients maintain secondary indices of relation tuples
in Zanzibar. They can do so with our Watch API. A watch
request specifies one or more namespaces and a zookie representing the time to start watching. A watch response contains all tuple modification events in ascending timestamp
order, from the requested start timestamp to a timestamp encoded in a heartbeat zookie included in the watch response.
The client can use the heartbeat zookie to resume watching
where the previous watch response left off.
Beta Was this translation helpful? Give feedback.
All reactions