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 table for the sink consumer
Array of filters to apply to the source data
The destination configuration for the sink consumer. The shape varies by destination type.
The source database for the sink consumer
The transform to apply to messages
Number of records to batch together (1-1000)
The actions to perform on the records (insert, update, delete)
Column names used for grouping records
Acknowledgement timeout in milliseconds (minimum 500ms)
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 table for the sink consumer.
The table name is of the format schema.table
. Schema is optional and defaults to public
.
Array of filters to apply to the source data
The destination configuration for the sink consumer. The shape varies by destination type.
The source database for the sink consumer.
When you create a database in Sequin, you specify the name of the database resource. That value is this database field.
The transform to apply to messages.
This is the name of the transform that you created in the Sequin console.
The ID of the active backfill, if any.
Backfills that were completed or cancelled will not appear here.
Number of records to batch together (1-1000)
This is the number of records that will be sent in a single message to the destination.
The database actions to include in the sink.
Possible values include insert
, update
, delete
.
Column names used for grouping records
The format of the timestamp in the source data.
Possible values include iso8601
and unix_microsecond
.