Docs/Streams/Configuration

Stream Configuration Reference

Use this reference when you need exact field paths and JSON structure for stream configurations.

For the mental model first, use Stream Configuration Overview. For source and target behavior, use Source Configuration and Target Configuration. For full payloads, use Stream Configuration Examples.

Top-level fields

FieldTypeNotes
idstringSaved stream ID returned by the API, usually stream_<ksuid>.
namestringHuman-readable stream name.
modestringconvert or cdc.
descriptionstringOptional description.
creatednumberUnix timestamp returned by the API for saved configs.
reportingIntervalnumberProgress reporting interval in seconds. Default: 5.
sourceobjectSource configuration.
targetobjectTarget configuration.
limitsobjectOptional stop conditions.

Source configuration

Source connections

Path: source.connections[].

FieldTypeNotes
aliasstringOmit for single-source streams. Required for multi-source streams.
connectionIdstringStored connection ID to use as the source.
databasestringDatabase name for database sources.
schemastringOptional schema or namespace for database sources.
tablesarraySelected physical tables.
queriesarrayVirtual query sources. Load mode only.
s3objectS3 source selection. Use instead of database, schema, tables, and queries.
filesobjectLocal file source selection. Use instead of database, schema, tables, and queries.

Selected tables

Path: source.connections[].tables[].

FieldTypeNotes
namestringSource table name. For PostgreSQL, use schema-qualified names such as public.actor when selecting tables outside public or when selecting the same table name from multiple schemas.
selectionobjectStructured selection state used by the Data Filter UI.

Table selection

Path: source.connections[].tables[].selection.

FieldTypeNotes
selectedColumnsarrayColumns to include. Omit or leave empty for SELECT *.
filtersarrayRow filter conditions.
sortsarraySort clauses.
limitnumberRow cap for this table selection. Omit it for no limit.

Table filters

Path: source.connections[].tables[].selection.filters[].

FieldTypeNotes
columnstringSource column to test.
operatorstringSaved API operator value such as =, IN, IS NULL, CONTAINS, or STARTS_WITH.
valuestringComparison value. Omit or leave empty only for null-check operators.

Table sorting

Path: source.connections[].tables[].selection.sorts[].

FieldTypeNotes
columnstringSource column to sort by.
directionstringASC or DESC.

Query sources

Path: source.connections[].queries[].

Mode support: Load mode only.

FieldTypeNotes
namestringVirtual table name written to the target.
querystringFull SQL query.
columnsarrayOptional result schema hints.

Query result columns

Path: source.connections[].queries[].columns[].

FieldTypeNotes
namestringColumn name in the query result.
typestringMapped column type.
nullablebooleanOptional nullability flag.

S3 source settings

Path: source.connections[].s3.

FieldTypeNotes
bucketstringBucket to read from.
prefixesarrayPrefixes to include recursively. Each should end with /.
objectsarrayExact object keys to read.
manifestPathstringPath to a manifest JSON file. Do not combine with prefixes or objects.

Local file source settings

Path: source.connections[].files.

FieldTypeNotes
basePathstringRoot directory on the local filesystem.
pathsarraySelected files or folders relative to basePath.

Source options

Path: source.options.

Mode support: operations, replicationSlot, publicationName, and initialSnapshot are used for CDC streams.

FieldTypeNotes
dataBundleSizenumberRows read and sent per batch. Default: 1000.
operationsarrayCDC operations to capture: INSERT, UPDATE, DELETE.
replicationSlotstringPostgreSQL CDC replication slot.
publicationNamestringPostgreSQL CDC publication name.
initialSnapshotobjectCDC-only option that copies existing source rows before starting log-based CDC. See Initial Load + CDC for lifecycle and target requirements.

Initial Load + CDC

Path: source.options.initialSnapshot.

Mode support: CDC mode only.

FieldTypeNotes
enabledbooleanIf true, the CDC run copies existing source rows first, then starts CDC from the matching source log position. Default: false.
restartPolicystringCurrent value: fail_until_reset. Interrupted partial snapshots fail until target state is reset.

See also:

Target configuration

Target object

Path: target.

FieldTypeNotes
idstringStored connection ID to use as the target.
specobjectExactly one target family object.

Target families

Path: target.spec.

PathUse when
target.spec.dbWriting to MySQL or PostgreSQL.
target.spec.filesWriting local CSV, JSONL, or Parquet files.
target.spec.s3Writing files locally, then uploading them to S3-compatible storage.

Database target

Path: target.spec.db.

FieldTypeNotes
databasestringTarget database name.
schemastringOptional target schema or namespace.
structureOptionsobjectTable, index, foreign key, and check-constraint creation flags. See Database Structure Options.
schemaPolicystringExisting-table policy. See Target Schema and Data Policies.
writeModestringExisting-row policy. See Target Schema and Data Policies.
skipDatabooleanIf true, create structure only and skip data writes.

Local file target

Path: target.spec.files.

FieldTypeNotes
outputDirectorystringOptional. Usually omitted for standalone local file targets. The connection base path determines the final output location.
fileFormatstringcsv, jsonl, or parquet.
formatobjectCompression and format-specific settings.

S3 target

Path: target.spec.s3.

FieldTypeNotes
outputDirectorystringLocal staging directory before upload. Optional when the platform default is acceptable.
fileFormatstringcsv, jsonl, or parquet.
formatobjectCompression and format-specific settings.
uploadobjectDestination bucket and upload behavior.

Format settings

Path: target.spec.files.format or target.spec.s3.format.

FieldTypeNotes
compressionstringCompression codec for file output.
parquetobjectParquet-specific settings.
csvobjectSchema field for CSV-specific settings. Current target writers still use default CSV output settings.

Parquet format settings

Path: target.spec.files.format.parquet or target.spec.s3.format.parquet.

UI support: API and saved config only. These fields are not currently exposed in the UI.

FieldTypeNotes
compressionCodecstringParquet compression codec.
compressionLevelnumberOptional codec-specific compression level.
dataPageSizenumberParquet data page size in bytes.
maxRowGroupSizenumberMaximum number of rows per row group.
targetRowGroupSizeMBnumberTarget row group size in MB.
parquetVersionstringParquet format version.
dataPageVersionstringData page version.
enableDictionarybooleanEnable dictionary encoding.
enableStatisticsbooleanEnable column statistics.
timestampUnitstringTimestamp precision.
binaryFormatstringBinary value encoding.

CSV format settings

Path: target.spec.files.format.csv or target.spec.s3.format.csv.

UI support: not exposed in the UI. Current target writers still use default CSV output settings.

FieldTypeNotes
delimiterstringField delimiter.
quotestringQuote character.
headerbooleanWhether to emit a header row.

S3 upload settings

Path: target.spec.s3.upload.

FieldTypeNotes
bucketstringDestination bucket.
prefixstringOptional key prefix.
keepLocalFilesbooleanKeep staged local files after upload.
storageClassstringStorage class override.
serverSideEncstringServer-side encryption mode such as AES256 or aws:kms.
kmsKeyIdstringKMS key ID when serverSideEnc is aws:kms.

Limits

Path: limits.

FieldTypeNotes
numberOfEventsnumberMaximum rows or events to process. 0 means unlimited.
elapsedTimenumberMaximum runtime in seconds. 0 means unlimited.