Build event-driven applications with Postgres change data capture (CDC) and webhooks. Learn to create reliable HTTP integrations with automatic retries.
200 OK
after successfully processing a batch of messages. Sequin will consider any other response code a failure, and will mark the message for re-delivery.
tunnel
command to connect Sequin’s servers to a local HTTP endpoint. So, no need to deploy your application just yet!Authorization
header of inbound requests. You’ll supply this token to Sequin by adding it as a header for your HTTP endpoint.
Here’s how to generate a secure token with openssl
:
insert
, update
, and delete
changes in a buffer until they’re delivered to your webhook endpoint.
You can use change retention to persist changes to a table in your database. Then, you can stream that table to your webhook endpoint. This gives you the power to run backfills/replays of recent changes at any times.
Content-Type: application/json
).Authorization
under “Encrypted Headers”.
Select source table or schema
Add filters (optional)
Specify backfill
Specify message grouping
Specify request timeout
Specify batch size
1
. Otherwise, you risk your worker partially processing a batch then crashing. Then, when Sequin retries the batch, your handler will re-process the beginning of the batch.Specify advanced delivery configuration
Select the HTTP endpoint you created
Create the sink