Skip to main content
PATCH
Updates an existing sink consumer.

Request fields

string
required
The name or ID of the sink consumer to update
The request body can include any of the following fields:
string
The name of the sink consumer
string
The current status of the sink consumer (active, disabled, paused)
object
The source configuration for the sink consumer
array
Additional configuration for individual tables.To configure which tables are consumed, see the source field.
array
The database actions to include in the sink (insert, update, delete)
string
The filter function for the sink consumer
string
The transform function for the sink consumer
string
The routing function for the sink consumer
boolean
Whether to enable message grouping for ordering purposes. When true (default), messages are grouped by primary key or custom grouping columns. When false, grouping is disabled for higher throughput batching.
integer
Number of records to batch together (1-1000)
integer
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.
string
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 again
  • discard_on_full — drops messages for overloaded consumers to avoid pausing replication
For more details, see load shedding policy.
string
The format of the timestamp in the source data. Possible values include iso8601 and unix_microsecond.
object
Additional metadata you can attach to this sink consumer. Annotations can be any JSON object (not a list or a scalar).Annotations are passed in the default message shape to your destination. They are also available in filter, transform, and routing functions.
object
The destination configuration for the sink consumer. The shape varies by destination type.

Response fields

string
The unique identifier of the sink consumer
string
The name of the sink consumer
string
The current status of the sink consumer (active, disabled, paused)
string
The source database for the sink consumer
object
The source configuration for the sink consumer. This determines which tables are consumed.
array
Additional configuration for individual tables.To configure which tables are consumed, see the source field.
array
The database actions to include in the sink (insert, update, delete)
object
The destination configuration for the sink consumer. The shape varies by destination type.
string
The filter function for the sink consumer
string
The transform function for the sink consumer
string
The routing function for the sink consumer
string
The enrichment function for the sink consumer
boolean
Whether message grouping is enabled for delivery orderingSee message grouping and ordering for more details.
integer
The maximum number of times a message will be retried if delivery fails
object
User-defined annotations for the sink consumer
array
Array of active backfill IDs
integer
Number of records to batch together (1-1000)
string
Determines how Sequin handles overload when sink consumers can’t keep up with incoming messages
string
The format of the timestamp in the source data
object
Health status information for the sink consumer