About Mambu Streaming API
The purpose of the Streaming API is to provide a high-performance and reliable mechanism to stream significant amounts of data out of Mambu on a constant basis, without posing unnecessary pressure on the API and webhook infrastructure.
In order to subscribe to Mambu notifications events and consume them, a dedicated API is exposed to be used by clients.
The typical workflow is:
- Create a subscription specifying the topic names you want to read.
- Start reading batches of events from the subscription.
- Commit the cursors found in the event batches back to Mambu, which will store the offsets.
If the connection is closed, and later restarted, clients will get events from the point of your last cursor commit. If you need more than one client for your subscription to distribute the load you can read the subscription with multiple clients, for more details please check the get events endpoint.