Subscription Cursors
The cursors in the Subscription API have the following structure:
The fields are:
partition: The partition this batch belongs to. A batch can only have one partition.offset: The offset of this batch. The offset is server-defined and opaque to the client - clients should not try to infer or assume a structure.event_type: Specifies the event-type of the cursor (as in one stream there can be events of different event-types)cursor_token: The cursor token generated by Mambu.
Cursor Structure
{
"partition": "1",
"offset": "001-0001-000000000000000000",
"event_type": "mrn.event.demo_tenant.streamingapi.client_approved",
"cursor_token": "e8f6bc5d-65b7-4466-9d95-507da0e79d3c"
}