Skip to main content
Read your events on your own schedule, with no endpoint to expose.

Participants


  • Your institution. Your system calls the Streaming Hub API with an Access Manager token.
  • Streaming Hub. The Lerian platform service that keeps your events in arrival order and returns them page by page. Lerian sets it up for your institution.
  • Lerian product. The product that publishes the business event, for example Midaz.

Diagram


Pull events with a cursor

Steps


How you know it finished


A read returns next_cursor null.
  • Your system stops after a read. The cursor already moved past that page. Read again with after set to the last seq that you processed. That read does not move the cursor back.
  • The read is refused for rate. The read answers 429 rate_limited. Wait the Retry-After seconds, then read again.