# Sequin ## Docs - [Compare Sequin](https://sequinstream.com/docs/compare.md): Compare Sequin against Debezium, Fivetran, Airbyte, and Postgres native solutions. Make an informed choice for your change data capture needs. - [Sequin's consistency model](https://sequinstream.com/docs/concepts/consistency-model.md): Learn how Sequin ensures loss-free, strictly ordered change data capture from Postgres using backfills and real-time logical replication. - [How to connect your Postgres database to Sequin](https://sequinstream.com/docs/connect-postgres.md): Learn how to properly configure your Postgres database for change data capture with Sequin. - [Trigger Cloudflare Workers from database changes](https://sequinstream.com/docs/guides/cloudflare.md): Deploy global, edge-based applications that respond to Postgres changes. Connect Sequin to Cloudflare Workers for real-time database event processing. - [Sink to Cloudflare Pipeline and R2 Bucket](https://sequinstream.com/docs/guides/cloudflare-pipeline.md): Learn how to sink every change in your database to a Cloudflare R2 bucket using a Cloudflare Pipeline. - [Trigger AWS Lambdas from database changes](https://sequinstream.com/docs/guides/lambda.md): Build serverless event-driven applications by streaming Postgres changes to AWS Lambda. - [Transactionally start a Temporal workflow when data changes in your database](https://sequinstream.com/docs/guides/temporal.md): Learn how to use Sequin to trigger a Temporal workflow when data changes in your database. Ensure consistency across services and build complex, transactionally-consistent workflows. - [Replicate Postgres to Tinybird](https://sequinstream.com/docs/guides/tinybird.md): Build real-time analytics dashboards by streaming Postgres data to Tinybird. - [Build webhook subscriptions for your users with Sequin](https://sequinstream.com/docs/guides/user-webhooks.md): Learn how to use Sequin to build a webhook subscription system for your users. Let your users receive webhook notifications whenever their data changes in your Postgres database. - [How to annotate database changes](https://sequinstream.com/docs/how-to/annotate-changes.md): Learn how to enrich Postgres change data capture (CDC) events with transaction annotations for audit trails, debugging, and business context. - [How to create audit logs with Sequin](https://sequinstream.com/docs/how-to/create-audit-logs.md): Build comprehensive audit logging systems with Postgres change data capture (CDC). - [How to deploy to production](https://sequinstream.com/docs/how-to/deploy-to-production.md): Learn how to use Sequin's CLI for version-controlled, consistent deployments across environments. - [How to maintain caches with Sequin](https://sequinstream.com/docs/how-to/maintain-caches.md): Learn how to keep Redis compatible caches in sync with your Postgres database. Eliminate stale cache issues with real-time change data capture. - [How to replicate tables with Sequin](https://sequinstream.com/docs/how-to/replicate-tables.md): Learn how to build reliable Postgres change data capture pipelines with Sequin. From idempotent processing, to schema transformations, to error handling. - [Connecting to an Azure Database for PostgreSQL](https://sequinstream.com/docs/how-to/setup-azure.md): Integrate Azure PostgreSQL with Sequin's change data capture (CDC) platform in minutes. Learn how to setup logical replication and connect Sequin to your database. - [Set up change retention](https://sequinstream.com/docs/how-to/setup-change-retention.md): Learn how to store database changes in Postgres tables for reliable point-in-time recovery and flexible backfill operations. - [Connecting to a GCP Cloud SQL database](https://sequinstream.com/docs/how-to/setup-gcp.md): Stream changes from GCP Cloud SQL to other Google services and beyond. Learn how to enable logical replication and connect Sequin to your database. - [Connecting to Neon](https://sequinstream.com/docs/how-to/setup-neon.md): Set up Postgres change data capture (CDC) with Neon's serverless Postgres database in minutes. - [Connecting to an AWS RDS database](https://sequinstream.com/docs/how-to/setup-rds.md): Learn how to setup a Postgres change data capture (CDC) pipeline from AWS RDS Postgres. - [Connecting to Supabase](https://sequinstream.com/docs/how-to/setup-supabase.md): Elevate your Supabase project with reliable Postgres change data capture (CDC). Use Sequin to replace webhooks and trigger edge functions. - [Connecting to a TimescaleDB database](https://sequinstream.com/docs/how-to/setup-timescale.md): Power time-series applications with real-time change capture. Learn how to connect TimescaleDB to Sequin. - [How to stream Postgres to a webhook endpoint](https://sequinstream.com/docs/how-to/stream-postgres-to-a-webhook-endpoint.md): Build event-driven applications with Postgres change data capture (CDC) and webhooks. Learn to create reliable HTTP integrations with automatic retries. - [How to stream Postgres changes to AWS Lambda](https://sequinstream.com/docs/how-to/stream-postgres-to-aws-lambda.md): Build an event‑driven pipeline that streams Postgres change data capture (CDC) events from Sequin to AWS Lambda using either SQS or SNS. - [How to stream Postgres to Azure Event Hubs](https://sequinstream.com/docs/how-to/stream-postgres-to-azure-event-hubs.md): Build scalable event-driven applications with Azure and Postgres change data capture (CDC). - [How to stream Postgres to Elasticsearch](https://sequinstream.com/docs/how-to/stream-postgres-to-elasticsearch.md): Build real‑time search indexes with Postgres change data capture (CDC) and Elasticsearch. Learn to keep your search indices in sync with your database. - [How to stream Postgres to GCP Pub/Sub](https://sequinstream.com/docs/how-to/stream-postgres-to-gcp-pubsub.md): Integrate Postgres with Google Cloud services through Pub/Sub. Stream database changes for event processing, Cloud Functions, and more. - [How to stream Postgres to Kafka](https://sequinstream.com/docs/how-to/stream-postgres-to-kafka.md): Build real-time data pipelines by streaming Postgres changes to Kafka. Learn how to go from dev to prod with a Sequin Kafka sink. - [How to stream Postgres to AWS Kinesis](https://sequinstream.com/docs/how-to/stream-postgres-to-kinesis.md): Connect Postgres to Kinesis with Sequin. Stream database changes for real-time analytics and event-driven pipelines. - [How to stream Postgres to Meilisearch](https://sequinstream.com/docs/how-to/stream-postgres-to-meilisearch.md): Build real-time search indexes with Postgres change data capture (CDC) and Meilisearch. Learn to keep your search collections in sync with your database. - [How to stream Postgres to NATS](https://sequinstream.com/docs/how-to/stream-postgres-to-nats.md): Build event-driven applications with NATS and Postgres change data capture (CDC). Stream database changes to NATS subjects for lightweight, scalable event distribution. - [How to stream Postgres to RabbitMQ](https://sequinstream.com/docs/how-to/stream-postgres-to-rabbitmq.md): Create message queues from Postgres events with RabbitMQ. Stream database changes to RabbitMQ to trigger workflows, keep services in sync, and more. - [How to stream Postgres to Redis Streams](https://sequinstream.com/docs/how-to/stream-postgres-to-redis-stream.md): Create real-time data pipelines with Redis Streams and Postgres change data capture (CDC). Stream database changes for caching, analytics, and event distribution. - [How to stream Postgres to Redis Strings](https://sequinstream.com/docs/how-to/stream-postgres-to-redis-string.md): Build a real-time cache with Postgres change data capture (CDC) and Redis Strings. Learn to keep your Redis cache in sync with your database. - [How to stream Postgres to S2](https://sequinstream.com/docs/how-to/stream-postgres-to-s2.md): Connect Postgres to S2 with Sequin. Stream database changes for real-time analytics and event-driven pipelines. - [How to stream Postgres to Sequin Stream](https://sequinstream.com/docs/how-to/stream-postgres-to-sequin-stream.md): Implement exactly-once processing for Postgres events without additional infrastructure. Learn how to use Sequin's HTTP-based stream to pull database changes. - [How to stream Postgres to AWS SNS](https://sequinstream.com/docs/how-to/stream-postgres-to-sns.md): Setup Postgres change data capture (CDC) and stream changes to Amazon SNS topics with Sequin. Power event-driven architectures, fan‑out to SQS queues, Lambdas, and more. - [How to stream Postgres to AWS SQS](https://sequinstream.com/docs/how-to/stream-postgres-to-sqs.md): Connect Postgres to SQS with Sequin. Stream database changes for reliable message queuing with ordered delivery guarantees. - [How to stream Postgres to Typesense](https://sequinstream.com/docs/how-to/stream-postgres-to-typesense.md): Build real-time search indexes with Postgres change data capture (CDC) and Typesense. Learn to keep your search collections in sync with your database. - [How to sync search indexes with Sequin](https://sequinstream.com/docs/how-to/sync-search-indexes.md): Learn how to keep your search indexes in sync with your Postgres database. Deliver accurate, fresh search results in milliseconds. - [Test with Sequin](https://sequinstream.com/docs/how-to/testing.md): Learn how to test Sequin locally and in CI to verify configuration, transforms, filters, and end-to-end connectivity - [How to build automated workflows from database changes](https://sequinstream.com/docs/how-to/trigger-automated-workflows.md): Learn how to create event-driven architectures using Postgres change data capture (CDC). Build workflows with strict ordering and idempotency guarantees. - [What is Sequin?](https://sequinstream.com/docs/introduction.md): Discover how to use Sequin to build real-time Postgres change data capture pipelines. - [Authentication](https://sequinstream.com/docs/management-api/authentication.md): How to authenticate with the Sequin Management API. - [Create backfill](https://sequinstream.com/docs/management-api/backfills/create.md) - [Delete backfill](https://sequinstream.com/docs/management-api/backfills/delete.md) - [Get backfill](https://sequinstream.com/docs/management-api/backfills/get.md) - [List backfills](https://sequinstream.com/docs/management-api/backfills/list.md) - [Update backfill](https://sequinstream.com/docs/management-api/backfills/update.md) - [Errors](https://sequinstream.com/docs/management-api/errors.md): The Sequin API can return the following errors: - [Create HTTP endpoint](https://sequinstream.com/docs/management-api/http-endpoints/create.md) - [Delete HTTP endpoint](https://sequinstream.com/docs/management-api/http-endpoints/delete.md) - [Get HTTP endpoint](https://sequinstream.com/docs/management-api/http-endpoints/get.md) - [List HTTP endpoints](https://sequinstream.com/docs/management-api/http-endpoints/list.md) - [Update HTTP endpoint](https://sequinstream.com/docs/management-api/http-endpoints/update.md) - [Introduction](https://sequinstream.com/docs/management-api/introduction.md): An overview of Sequin's Management API. - [Create database](https://sequinstream.com/docs/management-api/postgres_databases/create.md): Create a new Postgres database connection with a replication slot. - [Delete database](https://sequinstream.com/docs/management-api/postgres_databases/delete.md): Delete a Postgres database connection and its associated replication slot. - [Get database](https://sequinstream.com/docs/management-api/postgres_databases/get.md): Retrieve a Postgres connection by its ID or name. - [List databases](https://sequinstream.com/docs/management-api/postgres_databases/list.md): Lists all Postgres database connections in your account. - [Refresh tables](https://sequinstream.com/docs/management-api/postgres_databases/refresh-tables.md): Synchronously refresh Sequin's cache of all of a Postgres database's tables. - [Test connection](https://sequinstream.com/docs/management-api/postgres_databases/test-connection.md): Tests the connectivity and permissions for a configured Postgres database. - [Update database](https://sequinstream.com/docs/management-api/postgres_databases/update.md): Update an existing Postgres database connection and optionally its replication slot. - [Create sink consumer](https://sequinstream.com/docs/management-api/sink-consumers/create.md) - [Delete sink consumer](https://sequinstream.com/docs/management-api/sink-consumers/delete.md) - [Get sink consumer](https://sequinstream.com/docs/management-api/sink-consumers/get.md) - [List sink consumers](https://sequinstream.com/docs/management-api/sink-consumers/list.md) - [Update sink consumer](https://sequinstream.com/docs/management-api/sink-consumers/update.md) - [Performance](https://sequinstream.com/docs/performance.md): Explore how Sequin out‑performs every Debezium deployment mode by up to 6.8× in throughput and 4.7× in latency. See why Sequin is the fastest Postgres CDC tool available. - [How to set up real-time Postgres CDC](https://sequinstream.com/docs/postgres-change-data-capture.md): Learn how to capture and deliver every insert, update, and delete in your Postgres database to a message queue or stream with Sequin. - [Get started with Azure Event Hubs](https://sequinstream.com/docs/quickstart/azure-event-hubs.md): Build real-time data pipelines with Azure Event Hubs and Postgres change data capture (CDC). Follow our step-by-step tutorial to stream database changes to Event Hubs in minutes. - [Get started with Elasticsearch](https://sequinstream.com/docs/quickstart/elasticsearch.md): Learn how to create real-time Elasticsearch indexes from Postgres changes in minutes using Sequin. - [Get started with GCP Pub/Sub](https://sequinstream.com/docs/quickstart/gcp-pubsub.md): Stream Postgres changes to a Google Cloud Pub/Sub topic in minutes. Build real-time data pipelines with Google Cloud Pub/Sub and Postgres change data capture (CDC). - [Get started with Kafka](https://sequinstream.com/docs/quickstart/kafka.md): Learn how to setup Postgres change data capture (CDC) to Kafka in under 10 minutes. Setup a robust pipeline with backfills, inserts, updates, and deletes. - [Get started with AWS Kinesis](https://sequinstream.com/docs/quickstart/kinesis.md): Stream Postgres changes to an Amazon Kinesis stream in minutes with Sequin. - [Get started with Meilisearch](https://sequinstream.com/docs/quickstart/meilisearch.md): Learn how to create real-time search indexes from Postgres changes in minutes. Use Sequin to keep your Meilisearch indexes in sync with your database. - [Get started with NATS](https://sequinstream.com/docs/quickstart/nats.md): Stream Postgres changes to NATS subjects in minutes. Build lightweight, high-performance real-time pipelines on top of your Postgres data with NATS. - [Get started with RabbitMQ](https://sequinstream.com/docs/quickstart/rabbitmq.md): Stream Postgres changes to RabbitMQ in minutes. Build real-time data pipelines with RabbitMQ and Postgres change data capture (CDC). - [Get started with Redis Streams](https://sequinstream.com/docs/quickstart/redis-stream.md): `XADD` Postgres changes to Redis Streams in minutes. Build real-time data pipelines with Redis and Postgres change data capture (CDC). - [Get started with Redis Strings](https://sequinstream.com/docs/quickstart/redis-string.md): `SET` and `DEL` Postgres changes to Redis key/values in minutes. Build a real-time Redis cache from your Postgres data with change data capture (CDC). - [Get started with Redpanda](https://sequinstream.com/docs/quickstart/redpanda.md): Learn how to setup Postgres change data capture (CDC) to a Redpanda cluster in under 10 minutes. Setup a robust pipeline with backfills, inserts, updates, and deletes. - [Get started with S2](https://sequinstream.com/docs/quickstart/s2.md): Stream Postgres changes to an S2 stream in minutes with Sequin. - [Get started with Sequin Stream](https://sequinstream.com/docs/quickstart/sequin-stream.md): Build exactly-once processing pipelines for Postgres changes without additional infrastructure. Learn about Sequin's native stream with an HTTP interface. - [Get started with AWS SNS](https://sequinstream.com/docs/quickstart/sns.md): Learn how to stream rows and changes from Postgres to Amazon SNS in minutes. Use Sequin to stream Postgres to Lambdas, Kinesis, SQS, and more via SNS. - [Get started with AWS SQS](https://sequinstream.com/docs/quickstart/sqs.md): Stream Postgres changes to an SQS queue in minutes. Build real-time data pipelines with SQS and Postgres change data capture (CDC). - [Get started with Typesense](https://sequinstream.com/docs/quickstart/typesense.md): Learn how to create real-time search indexes from Postgres changes in minutes. Use Sequin to keep your Typesense collections in sync with your database. - [Get started with webhooks](https://sequinstream.com/docs/quickstart/webhooks.md): Learn how to create real-time API hooks from Postgres changes in minutes. Use Sequin to trigger automated workflows, build audit logs, and more. - [Transaction Annotations](https://sequinstream.com/docs/reference/annotations.md): Reference for Sequin transaction annotations. Attach rich contextual metadata to your Postgres change data capture (CDC) events. - [Backfills](https://sequinstream.com/docs/reference/backfills.md): Learn how to seed destinations with existing data or replay events for robust Postgres change data capture (CDC) pipelines. - [Change retention](https://sequinstream.com/docs/reference/change-retention.md): Implement reliable data archiving and event replay capabilities. Learn how to store, manage, and recover Postgres change events with configurable retention periods. - [Sequin CLI](https://sequinstream.com/docs/reference/cli/overview.md): Reference for the Sequin CLI. Learn about installation options, context management, configuration commands, and local development tunnels. - [Configuration](https://sequinstream.com/docs/reference/configuration.md): Reference for Sequin configuration options. Explore advanced settings for clustering, memory management, and authentication. - [Databases](https://sequinstream.com/docs/reference/databases.md): Reference for connecting databases to Sequin - [Enrichment](https://sequinstream.com/docs/reference/enrichment.md): Reference for Sequin's enrichment functionality. Use enrichment to add additional data to your messages before they are sent to sinks. - [Filters](https://sequinstream.com/docs/reference/filters.md): Precisely control your data flow with powerful filtering options. Learn to filter by operation type, column values, and even nested JSON fields for efficient CDC processing. - [Messages](https://sequinstream.com/docs/reference/messages.md): Reference for Sequin's CDC messages. - [Metrics](https://sequinstream.com/docs/reference/metrics.md): Reference for Sequin's metrics. Use metrics to monitor health and performance. - [Minimum instance requirements](https://sequinstream.com/docs/reference/minimum-requirements.md): Sequin instance sizing guide for development and production workloads. - [Routing functions](https://sequinstream.com/docs/reference/routing.md): Dynamically direct your data to its downstream destination - [Ack messages](https://sequinstream.com/docs/reference/sequin-stream-api/ack.md): Ack messages in a Sequin Stream - [Nack messages](https://sequinstream.com/docs/reference/sequin-stream-api/nack.md): Nack messages in a Sequin Stream - [Receive next messages](https://sequinstream.com/docs/reference/sequin-stream-api/receive.md): Use the `/receive` endpoint to get one or more messages from a Sequin Stream - [sequin.yaml](https://sequinstream.com/docs/reference/sequin-yaml.md): Reference for Sequin's YAML configuration for infrastructure-as-code deployments. - [Azure Event Hubs sink](https://sequinstream.com/docs/reference/sinks/azure-event-hubs.md): Reference for configuring and using the Azure Event Hubs sink with Sequin. - [Elasticsearch sink](https://sequinstream.com/docs/reference/sinks/elasticsearch.md): Stream Postgres changes directly to Elasticsearch with Sequin's Elasticsearch sink. - [GCP Pub/Sub sink](https://sequinstream.com/docs/reference/sinks/gcp-pubsub.md): Reference for configuring and using the Google Cloud Pub/Sub sink with Sequin. - [Kafka sink](https://sequinstream.com/docs/reference/sinks/kafka.md): Stream Postgres changes directly to Apache Kafka with Sequin's Kafka sink. Configure message ordering and partitioning for reliable change data capture. - [AWS Kinesis sink](https://sequinstream.com/docs/reference/sinks/kinesis.md): Reference for configuring and using the AWS Kinesis sink with Sequin. - [Meilisearch sink](https://sequinstream.com/docs/reference/sinks/meilisearch.md): Stream Postgres changes directly to Meilisearch with Sequin's Meilisearch sink. - [NATS sink](https://sequinstream.com/docs/reference/sinks/nats.md): Reference for configuring and using the NATS sink with Sequin. - [General Sink Reference](https://sequinstream.com/docs/reference/sinks/overview.md): Reference for the core concepts and behaviors of Sequin sinks. Learn about delivery guarantees, message grouping, ordering, backfill support, and monitoring capabilities. - [RabbitMQ sink](https://sequinstream.com/docs/reference/sinks/rabbitmq.md): Reference for configuring and using the RabbitMQ sink with Sequin. - [Redis Stream sink](https://sequinstream.com/docs/reference/sinks/redis-stream.md): Reference for configuring and using the Redis Stream sink with Sequin. - [Redis String sink](https://sequinstream.com/docs/reference/sinks/redis-string.md): Stream Postgres changes to Redis Strings with Sequin's Redis String sink. - [S2 sink](https://sequinstream.com/docs/reference/sinks/s2.md): Reference for configuring and using the S2 sink with Sequin. - [Sequin Stream Reference](https://sequinstream.com/docs/reference/sinks/sequin-stream.md): Reference for using Sequin's native HTTP-based stream, Sequin Stream. - [AWS SNS sink](https://sequinstream.com/docs/reference/sinks/sns.md): Reference for configuring and using the AWS SNS sink with Sequin. - [AWS SQS sink](https://sequinstream.com/docs/reference/sinks/sqs.md): Reference for configuring and using the AWS SQS sink with Sequin. - [Typesense sink](https://sequinstream.com/docs/reference/sinks/typesense.md): Stream Postgres changes directly to Typesense with Sequin's Typesense sink. - [Webhook sink](https://sequinstream.com/docs/reference/sinks/webhooks.md): Trigger real-time HTTP webhooks from Postgres changes with Sequin's webhook sink. Learn about the batching and authentication strategies that Sequin offers. - [Transforms](https://sequinstream.com/docs/reference/transforms.md): Reference for Sequin's transforms. Use transforms to modify the structure of your messages before they are sent to sinks. - [Getting Started with Sequin](https://sequinstream.com/docs/running-sequin.md): Learn how to install and configure Sequin in minutes using Docker Compose. Set up your Postgres CDC pipeline with minimal effort. ## OpenAPI Specs - [kafka-docker-compose](https://sequinstream.com/docs/static/kafka-docker-compose.yaml)