Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Source: Amazon Kinesis

The Kinesis source reads records from Amazon Kinesis Data Streams and delivers them into a pg_tide inbox.

Configuration

SELECT tide.relay_set_inbox(
    'events-from-kinesis',
    'incoming_events',
    '{
        "source_type": "kinesis",
        "stream_name": "external-events",
        "region": "us-east-1",
        "iterator_type": "LATEST",
        "batch_size": 100
    }'::jsonb
);

Configuration Reference

ParameterTypeDefaultDescription
source_typestringMust be "kinesis"
stream_namestringKinesis stream name
regionstringAWS region
iterator_typestring"LATEST"Start position: "LATEST", "TRIM_HORIZON", "AT_TIMESTAMP"
batch_sizeint100Records per GetRecords call
access_key_idstringnullAWS credentials
secret_access_keystringnullAWS secret key

Further Reading