One call, and a cursor.
Events are notifications. The stored data stays the source of truth, so a subscriber that falls behind reads the records again.
The cursor joins two streams
A stream ends after one minute. Your subscriber keeps the last event’s cursor, and the next stream starts after it.
| The stream | What it guarantees |
|---|---|
| The call | EventService.Subscribe, a server stream. |
| Delivery | At least once, and in order for each record. |
| Retention | Each event is kept for 30 days. |
| Access | A subscriber receives the events that its grants cover. |
| Restricted fields | A change of restricted fields alone reaches only the subscribers who may read one of them. |
| Renames | A subscriber that names an entity or a field by a former name still gets it under that name. |
What a subscriber can rely on
A trigger of the schema starts a handler or a source on an event too, inside the domain.