Create sink consumer
Creates a new sink consumer.
Request fields
The name of the sink consumer
The initial status of the sink consumer (active, disabled, paused)
The source configuration for the sink consumer
Additional configuration for individual tables.
To configure which tables are consumed, see the source
field.
The database actions to include in the sink (insert, update, delete)
The destination configuration for the sink consumer. The shape varies by destination type.
The source database for the sink consumer
The filter function for the sink consumer
The transform function for the sink consumer
The routing function for the sink consumer
Whether message grouping is enabled for ordering purposes. When true
(default), messages are grouped by primary key. When false
, grouping is disabled for higher throughput batching.
Number of records to batch together (1-1000)
The maximum number of times a message will be retried if delivery fails. Once this limit is reached, the message will be discarded.
Defaults to null
, meaning messages are retried indefinitely.
Determines how Sequin handles overload when sink consumers can’t keep up with incoming messages. Options are:
pause_on_full
(default) — pauses replication until the buffer has room againdiscard_on_full
— drops messages for overloaded consumers to avoid pausing replication
For more details, see load shedding policy.
The format of the timestamp in the source data.
Possible values include iso8601
and unix_microsecond
.
Additional metadata you can attach to this sink consumer. Annotations can be any JSON object.
Response fields
The unique identifier of the sink consumer
The name of the sink consumer
The current status of the sink consumer (active, disabled, paused)
The source database for the sink consumer
The source configuration for the sink consumer. This determines which tables are consumed.
Additional configuration for individual tables.
To configure which tables are consumed, see the source
field.
The database actions to include in the sink (insert, update, delete)
The destination configuration for the sink consumer. The shape varies by destination type.
The filter function for the sink consumer
The transform function for the sink consumer
The routing function for the sink consumer
Whether message grouping is enabled for delivery ordering
See message grouping and ordering for more details.
The maximum number of times a message will be retried if delivery fails
User-defined annotations for the sink consumer
Array of active backfill IDs
Number of records to batch together (1-1000)
Determines how Sequin handles overload when sink consumers can’t keep up with incoming messages
The format of the timestamp in the source data
Health status information for the sink consumer