capabilities.work

Create Stream with Poller Sink and Send Events

A 4-step recipe with Svix. We can help you get access.

Recipe · 4 steps

Create Stream with Poller Sink and Send Events

with Svix

Stand up a stream and poller sink, publish events, and poll them back.

  1. Create the stream that collects events. Returns 201 with the stream object.
  2. Attach a poller sink to the stream so events can be consumed by polling. Returns 201 with the sink object.
  3. Publish the batch of events into the stream for routing to the sink. Returns 202 Accepted.
  4. Poll the poller sink's event stream until events are available, retrying while the returned data is empty. Returns 200.
What you'll need to have ready
  • streamName: Human readable name for the stream.
  • events: The batch of events to publish into the stream.
For your developer

Arazzo workflow svix:stream-sink-and-poll-events, 4 operations: v1.streaming.stream.create → v1.streaming.sink.create → v1.streaming.events.create → v1.streaming.events.get. Specs on APIs.io.