sequin.yaml
Reference for Sequin YAML configuration
Overview
Configure Sequin resources like databases, sinks, and HTTP endpoints using YAML.
You can provide YAML configuration to Sequin in three ways:
- Via a configuration file using the
CONFIG_FILE_PATH
environment variable - Directly as base64-encoded YAML using the
CONFIG_FILE_YAML
environment variable - Via the Sequin CLI using the
sequin config export|plan|apply
command group
Schema
Account configuration
User configuration
Database configuration
HTTP endpoint configuration
You can configure HTTP endpoints in three ways:
1. External URL
2. Local development endpoint
Sequin Cloud offers tunneling to your local machine for development. Learn more about tunneling in the CLI documentation.
3. Webhook.site testing endpoint
Sink configuration
A sink streams data from a table to a destination (sink). All sinks share these configuration options:
The destination
configuration varies by sink type. Below are the configurations for each sink type:
Webhook sink
For sending changes to HTTP endpoints:
Sequin Stream sink
Sequin Stream is a durable, scalable, and fault-tolerant message stream that you can use with Sequin in place of additional infrastructure like Kafka or SQS.
For pulling changes via the Sequin Stream API:
Kafka sink
For publishing changes to Kafka topics:
SQS sink
For sending changes to Amazon SQS queues:
Redis sink
For publishing changes to Redis streams:
GCP PubSub sink
For publishing changes to Google Cloud Pub/Sub topics:
The GCP PubSub sink requires a service account with permissions to publish to the specified topic. The credentials
field should contain the JSON key file contents for a service account with the roles/pubsub.publisher
role.
Project ID must be between 6 and 30 characters, start with a letter, and contain only lowercase letters, numbers, and hyphens. Topic ID must be between 3 and 255 characters and match the pattern: [a-zA-Z][a-zA-Z0-9-_.~+%]*
.
Sink filters
All sink types support filtering messages based on columns in your source table. The filtering syntax is consistent across sink types:
Change retention configuration
Example configuration
Here’s a complete example combining multiple resource:
Was this page helpful?