Skip to main content

Onboarding File Fields

The onboarding file is a JSON or YAML array of flow definitions. Each element describes one data flow — its source, bronze target, and optionally a silver target.

note

{env} is your environment placeholder, for example dev, prod, or stag. You supply the value at onboarding time via the env parameter.

Full example files:


Top-Level Fields

FieldTypeRequiredDescription
data_flow_idstringYesUnique identifier for this pipeline flow
data_flow_groupstringYesGroup identifier — flows in the same group share one Declarative Pipeline
source_formatstringYesSource type: cloudFiles, eventhub, kafka, delta, or snapshot
source_detailsobjectYesSource-specific connection details — see per-format tables below

source_details — cloudFiles

FieldTypeDescription
source_schema_pathstringPath to the Spark DDL schema file for the source. If omitted, schema inference is used. For a custom parser, implement bronze_schema_mapper(schema_file_path, spark): Schema.
source_path_{env}stringCloud storage path where source files land (e.g. s3://bucket/path/)
source_catalogstringUnity Catalog name of a Delta table used as the source (Delta format only)
source_databasestringSchema/database of the Delta source table
source_metadataobjectAutoloader file metadata configuration — see nested fields below

source_metadata nested fields:

FieldTypeDescription
include_autoloader_metadata_columnbooleanWhen true, adds the _metadata struct column to the bronze table
autoloader_metadata_col_namestringRename _metadata to this column name (default: source_metadata)
select_metadata_colsobjectMap of {target_col_name: _metadata expression} to extract individual fields from _metadata

source_details — eventhub

FieldTypeDescription
source_schema_pathstringPath to the Spark DDL schema file
eventhub.accessKeyNamestringName of the SAS policy key
eventhub.accessKeySecretNamestringDatabricks Secrets key name containing the access key value
eventhub.namestringEvent Hub topic name
eventhub.secretsScopeNamestringDatabricks Secrets scope name
kafka.sasl.mechanismstringSASL mechanism, e.g. PLAIN
kafka.security.protocolstringSecurity protocol, e.g. SASL_SSL
eventhub.namespacestringEvent Hubs namespace
eventhub.portstringPort, typically 9093

source_details — kafka

FieldTypeDescription
source_schema_pathstringPath to the Spark DDL schema file
kafka.bootstrap.serversstringKafka broker address(es), e.g. host:9092
subscribestringKafka topic name
kafka.sasl.mechanismstringSASL mechanism if using authenticated Kafka
kafka.security.protocolstringSecurity protocol

source_details — snapshot

FieldTypeDescription
snapshot_formatstringFile format of the snapshot files, e.g. parquet, csv
source_path_{env}stringCloud storage path where snapshot files are located

source_details — delta

Used when reading from an existing Delta table — typically a bronze table feeding a silver flow.

FieldTypeDescription
source_databasestringcatalog.schema (fully qualified) or schema name of the source Delta table
source_tablestringName of the source Delta table

Example:

{
"source_format": "delta",
"source_details": {
"source_database": "my_catalog.retail_bronze",
"source_table": "orders_raw"
}
}

Bronze Layer Fields

FieldTypeDescription
bronze_catalog_{env}stringUnity Catalog name for the bronze table
bronze_database_{env}stringSchema (database) name for the bronze table
bronze_tablestringBronze table name
bronze_table_commentstringComment applied to the bronze table
bronze_reader_optionsobjectOptions passed to the Spark reader (e.g. {"multiline": "true", "header": "true"})
bronze_partition_columnsarrayList of column names to use as partition columns
bronze_cluster_byarrayList of column names for liquid clustering
bronze_cluster_by_autobooleanEnable automatic liquid clustering. Can be combined with bronze_cluster_by. See Automatic liquid clustering
bronze_cdc_apply_changesobjectConfiguration for create_auto_cdc_flow on the bronze table — see CDC guide
bronze_apply_changes_from_snapshotobjectSnapshot CDC configuration. Mandatory fields: keys (array), scd_type (1 or 2). Optional: track_history_column_list, track_history_except_column_list
bronze_table_path_{env}stringExternal storage path for the bronze table (optional, uses managed table if omitted)
bronze_table_propertiesobjectDeclarative Pipeline table properties, e.g. {"pipelines.autoOptimize.managed": "false", "pipelines.reset.allowed": "false"}
bronze_sinkobjectDeclarative Pipeline Sink API configuration for writing to an external Delta table or Kafka topic — see DLT Sink guide
bronze_data_quality_expectations_json_{env}stringPath to the DQE rules JSON/YAML file for bronze — see DQ Rules
bronze_catalog_quarantine_{env}stringUnity Catalog name for the quarantine table
bronze_database_quarantine_{env}stringSchema name for the quarantine table
bronze_quarantine_tablestringQuarantine table name (receives rows that fail expect_or_drop rules)
bronze_quarantine_table_commentstringComment applied to the quarantine table
bronze_quarantine_table_path_{env}stringExternal storage path for the quarantine table
bronze_quarantine_table_partitionsarrayPartition columns for the quarantine table
bronze_quarantine_table_cluster_byarrayLiquid clustering columns for the quarantine table
bronze_quarantine_table_propertiesobjectTable properties for the quarantine table
bronze_append_flowsarrayAdditional append_flow definitions — each element specifies an extra source that appends to the same bronze target. See Multi-Source CDC guide

Silver Layer Fields

FieldTypeDescription
silver_catalog_{env}stringUnity Catalog name for the silver table
silver_database_{env}stringSchema (database) name for the silver table
silver_tablestringSilver table name
silver_cdc_apply_changesobjectConfiguration for create_auto_cdc_flow on the silver table — see CDC guide
silver_table_path_{env}stringExternal storage path for the silver table
silver_table_propertiesobjectDeclarative Pipeline table properties for the silver table
silver_cluster_byarrayList of column names for liquid clustering
silver_cluster_by_autobooleanEnable automatic liquid clustering on the silver table
silver_data_quality_expectations_json_{env}stringPath to the DQE rules file for silver — see DQ Rules
silver_append_flowsarrayAdditional append_flow definitions for the silver layer
silver_sinkobjectDeclarative Pipeline Sink API configuration for silver output — see DLT Sink guide
silver_transformation_json_{env}stringPath to the silver transformations JSON/YAML file — see Silver Transformations