Stream Postgres changes to an Amazon Kinesis stream in minutes with Sequin.
Create a Kinesis stream
sequin-quickstart
:"StreamStatus": "ACTIVE"
in the response.Get your stream ARN
Create an IAM policy
sequin-kinesis-policy.json
:Create an IAM user
YOUR_ACCOUNT_ID
with your AWS account ID):Create access keys
AccessKeyId
and SecretAccessKey
from the response - you’ll need these for Sequin configuration and they won’t be shown again.Create directory and start services
Alternative: Download with curl
Alternative: Clone the repository
Verify services are running
docker ps
:Up
).Open the web console
Login with default credentials
sequin_playground
with a sample dataset in the public.products
table.Let’s take a look:Navigate to Databases
Select playground database
sequin-playground
database:View contents of the products table
products
table. Run the following command:psql
command.products
table:Navigate to Sinks
Select sink type
Note "Source" configuration
sequin-playground
database is selected and all schemas and tables are included. Leave these defaults:Setup a backfill
Inital backfill
card, select the public.products
table to initate a backfill when the sink is created.Configure Kinesis connection
arn:aws:kinesis:us-east-1:123456789012:stream/sequin-quickstart
)AccessKeyId
from Step 1SecretAccessKey
from Step 1us-east-1
)Create the sink
Messages tab
Verify in AWS (optional)