For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Batch sample configs

Ready-to-use batch pipeline configurations covering full snapshots, incremental loads, and merge patterns across common source types.

All examples below use the current Nilus pipeline shape with spec.type: batch:

type: nilus
spec:
  type: batch

This page is a sample gallery for common batch connector patterns; for the field-by-field reference, see Batch Pipeline Config.

Streaming sources (Kafka, NATS+JetStream) use spec.type: stream, not spec.type: batch. See Stream Sample Configs for those patterns.

Current Nilus shape

name: nilus-batch-example
version: v1alpha
type: nilus
spec:
  type: batch
  compute: universe-compute
  source:
    address: <source-uri>
    options:
      source_table: <object-or-schema.table>
  sink:
    address: <sink-uri>
    options:
      dest_table: <target-object>
      incremental_strategy: <append|replace|merge>

SQL database to Lakehouse

Use this as the recommended first production-like path when the source is represented by a DataOS depot and Nilus should read one PostgreSQL table into a DataOS Lakehouse destination.

SaaS API to warehouse

Use this pattern for connectors such as Salesforce, Stripe, or HubSpot where Nilus extracts named objects or endpoints over an API. Direct connector URIs with {ENV_VAR} placeholders require spec.use.projection; see Secrets and Projections for the full projection block.

Spreadsheet to Lakehouse

Use this pattern for sheet-style sources that behave like snapshots rather than incremental databases.

Azure Synapse dedicated SQL pool to Lakehouse

Synapse batch reads use the MS SQL Server path (mssql:// or a SQL Server/MSSQL depot). There is no synapse:// scheme. Dedicated SQL pools often need MSSQL_IGNORE_NO_TRANSACTION_ON_ROLLBACK; see Azure Synapse and Secrets and projections.

Validation notes

  • Use type: nilus and keep the pipeline type under spec.type: batch.

  • source_table means different things by connector: a SQL table, an API object, a spreadsheet range, or a stream name.

  • Prefer replace for snapshot-style sources such as Google Sheets.

  • Use append or merge only when the source contract and destination semantics support them.

Last updated

Was this helpful?