Skip to content

feat(destinations): add batchSize/maxWaitSecs to warehouse destination metadata (ENG-4130) - #395

Merged
RajatPawar merged 1 commit into
mainfrom
rajatspawar/eng-4130-sink-batching
Aug 18, 2026
Merged

feat(destinations): add batchSize/maxWaitSecs to warehouse destination metadata (ENG-4130)#395
RajatPawar merged 1 commit into
mainfrom
rajatspawar/eng-4130-sink-batching

Conversation

@RajatPawar

Copy link
Copy Markdown
Contributor

Follow-up to #394. Adds optional batchSize and maxWaitSecs integer fields to warehouse destination metadata (clickhouse, snowflake, bigquery, redshift), matching server#7057 (SinkBatching).

These tune Svix sink batching — warehouse sinks flush a batch when it reaches batchSize rows or after maxWaitSecs seconds. Unset → server defaults (1000 / 30s). Testing showed that without a maxWaitSecs, a low-volume warehouse destination never flushed; exposing these lets builders tune the latency/efficiency trade-off.

Added to the create body, update body, updateMask, and both response schemas. Regenerated api/generated/*.json.

…n metadata (ENG-4130)

Optional integer fields on warehouse destination metadata (clickhouse, snowflake,
bigquery, redshift) to tune Svix sink batching; default to 1000 rows / 30s when
unset. Added to create/update bodies, updateMask, and both response schemas.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@linear

linear Bot commented Aug 18, 2026

Copy link
Copy Markdown

ENG-4130

@RajatPawar
RajatPawar merged commit cc5e7d2 into main Aug 18, 2026
2 checks passed
@RajatPawar
RajatPawar deleted the rajatspawar/eng-4130-sink-batching branch August 18, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant