Get subscription events
GET/subscriptions/{subscriptionId}/events
Streams events for a subscription as a sequence of batches. Consume the batches, then commit cursors to acknowledge the events you have processed so that Mambu can advance the offset and stop redelivering them. The connection stays open and delivers further batches until a configured limit or timeout is reached. Also, batches now support multiple event types. Unlike the previous version, where batches were homogenous, "cursor.event_type" is now always "MIXED". To identify the types of the events in a batch, refer to "events.metadata.event_type", which remains functionally unchanged.
Request
Responses
- 200
- 401
- 403
- 404
Subscription events successfully retrieved
Unauthorized
Forbidden
Subscription not found